Make re-using watcher structures from dead processes actually work
The previous version only worked if they exited gracefully.
Change-Id: I03ff152f54c94f0aa81a45ba64f5a7a68227e3fe
diff --git a/aos/ipc_lib/aos_sync.h b/aos/ipc_lib/aos_sync.h
index 8290faa..a61fcc1 100644
--- a/aos/ipc_lib/aos_sync.h
+++ b/aos/ipc_lib/aos_sync.h
@@ -95,7 +95,7 @@
// this mutex may not be used with any of the mutex_ functions.
// Initializes a variable which can be used to wait for this thread to die.
-// This can only be called once after initializing *m.
+// This can only be called once after initializing *m to 0.
void death_notification_init(aos_mutex *m);
// Manually triggers a death notification for this thread.