gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r6242 - GNUnet/src/include


From: gnunet
Subject: [GNUnet-SVN] r6242 - GNUnet/src/include
Date: Sun, 10 Feb 2008 22:34:29 -0700 (MST)

Author: grothoff
Date: 2008-02-10 22:34:29 -0700 (Sun, 10 Feb 2008)
New Revision: 6242

Modified:
   GNUnet/src/include/gnunet_util_network.h
   GNUnet/src/include/gnunet_util_threads.h
Log:
better docs

Modified: GNUnet/src/include/gnunet_util_network.h
===================================================================
--- GNUnet/src/include/gnunet_util_network.h    2008-02-11 05:34:09 UTC (rev 
6241)
+++ GNUnet/src/include/gnunet_util_network.h    2008-02-11 05:34:29 UTC (rev 
6242)
@@ -430,7 +430,11 @@
  * @param max_addr_len maximum expected length of addresses for
  *        connections accepted on the given socket
  * @param timeout after how long should inactive connections be
- *        closed?  Use 0 for no timeout
+ *        closed?  Use 0 for no timeout.  The specified timeout
+ *        will be the default for all new connections; 
+ *        after (!) returning (!) from the accept handler,
+ *        clients can change the timeout of an individual
+ *        socket using GNUNET_select_change_timeout.
  * @param mon maybe NULL
  * @param memory_quota amount of memory available for
  *        queueing messages (in bytes)

Modified: GNUnet/src/include/gnunet_util_threads.h
===================================================================
--- GNUnet/src/include/gnunet_util_threads.h    2008-02-11 05:34:09 UTC (rev 
6241)
+++ GNUnet/src/include/gnunet_util_threads.h    2008-02-11 05:34:29 UTC (rev 
6242)
@@ -112,9 +112,10 @@
  *        will just segfault and gdb will give a messed-up stacktrace.
  * @return the handle
  */
-struct GNUNET_ThreadHandle *GNUNET_thread_create (GNUNET_ThreadMainFunction
-                                                  main, void *arg,
-                                                  unsigned int stackSize);
+struct GNUNET_ThreadHandle *
+GNUNET_thread_create (GNUNET_ThreadMainFunction
+                     main, void *arg,
+                     unsigned int stackSize);
 
 
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]