summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-29 20:26:18 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-29 20:26:18 +0000
commit4afd2594d4fe1bbe5e96ea83e5f77b102849221f (patch)
tree113e2564990fdb41b3caafce055a24d0c668a53d /nuttx/include
parenta9a76255e924240cd29d9cd9f596292d71bae8cb (diff)
downloadpx4-nuttx-4afd2594d4fe1bbe5e96ea83e5f77b102849221f.tar.gz
px4-nuttx-4afd2594d4fe1bbe5e96ea83e5f77b102849221f.tar.bz2
px4-nuttx-4afd2594d4fe1bbe5e96ea83e5f77b102849221f.zip
Using wrong(invalid) callback structure
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1357 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/nx.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/nuttx/include/nuttx/nx.h b/nuttx/include/nuttx/nx.h
index e54d0f06b..9f7b52dd8 100644
--- a/nuttx/include/nuttx/nx.h
+++ b/nuttx/include/nuttx/nx.h
@@ -227,10 +227,15 @@ EXTERN int nx_runinstance(FAR const char *mqname, FAR struct fb_vtable_s *fb);
* connection is normally needed per thread as each connection can host
* multiple windows.
*
- * NOTE that multiple instances of the NX server may run at the same time,
- * each with different message queue names. nx_connect() is simply
- * a macro that can be used when only one server instance is required. In
- * that case, a default server name is used.
+ * NOTES:
+ * - This function returns before the connection is fully instantiated.
+ * it is necessary to wait for the connection event before using the
+ * returned handle.
+ * - Multiple instances of the NX server may run at the same time,
+ * each with different message queue names.
+ * - nx_connect() is simply a macro that can be used when only one
+ * server instance is required. In that case, a default server name
+ * is used.
*
* Multiple user mode only!
*
@@ -357,6 +362,9 @@ EXTERN int nx_eventhandler(NXHANDLE handle);
* client can then call nv_eventhandler() only when incoming events are
* available.
*
+ * Only one such event is issued. Upon receipt of the signal, if the client
+ * wishes further notifications, it must call nx_eventnotify again.
+ *
* Input Parameters:
* handle - the handle returned by nx_connect
*