commit: r1861 - neon/trunk/src

joe at manyfish.co.uk joe at manyfish.co.uk
Mon Oct 3 17:41:51 EDT 2011


Author: joe
Date: Mon Oct  3 21:41:51 2011
New Revision: 1861

Modified:
   neon/trunk/src/ne_socket.c

Log:
* src/ne_socket.c: Tweak comment.


Modified: neon/trunk/src/ne_socket.c
==============================================================================
--- neon/trunk/src/ne_socket.c	(original)
+++ neon/trunk/src/ne_socket.c	Mon Oct  3 21:41:51 2011
@@ -1387,7 +1387,9 @@
 
 #ifdef SOCK_CLOEXEC
 /* sock_cloexec is initialized to SOCK_CLOEXEC and cleared to zero if
- * a socket() call ever fails with EINVAL. */
+ * a socket() call ever fails with EINVAL; not strictly thread-safe
+ * but in practice it will not matter if two threads race accessing
+ * the variable. */
 static int sock_cloexec = SOCK_CLOEXEC;
 #define RETRY_ON_EINVAL
 #else



More information about the neon-commits mailing list