]> rtime.felk.cvut.cz Git - sojka/libev.git/commitdiff
*** empty log message ***
authorMarc Alexander Lehmann <libev@schmorp.de>
Fri, 23 Mar 2012 19:06:08 +0000 (19:06 +0000)
committerMarc Alexander Lehmann <libev@schmorp.de>
Fri, 23 Mar 2012 19:06:08 +0000 (19:06 +0000)
Changes
ev.c

diff --git a/Changes b/Changes
index dd274f8b32eec46382dd3e4371049efcab691796..ae491e1b950d53e47b7bdaa14af84f7bdd72c32f 100644 (file)
--- a/Changes
+++ b/Changes
@@ -3,9 +3,16 @@ Revision history for libev, a high-performance and full-featured event loop.
 TODO: ev_loop_wakeup
 TODO: EV_STANDALONE == NO_HASSEL (do not use clock_gettime in ev_standalone)
 
+TODO: document WSA_EV_USE_SOCKET in win32 part
+TODO: ^ OR use WSASend/WSARecv on the handle, which always works
+TODO: use __OPTIMIZE__ or __OPTIMIZE_SIZE__?
        - ev_once: undef EV_ERROR in ev_kqueue.c, to avoid clashing with
           libev's EV_ERROR (reported by 191919).
 
+TODO: Jeff Davey libev patch
+       - (ecb) add memory fence support for xlC (Darin McBride).
+       - (ecb) add memory fence support for gcc-mips (Anton Kirilov).
+
 4.11 Sat Feb  4 19:52:39 CET 2012
        - INCOMPATIBLE CHANGE: ev_timer_again now clears the pending status, as
           was documented already, but not implemented in the repeating case.
diff --git a/ev.c b/ev.c
index db768030463db4472461081648b8bc352cb0722b..7ae3138e64712dec76d66e5f3fb9f3e450ea283c 100644 (file)
--- a/ev.c
+++ b/ev.c
@@ -603,6 +603,8 @@ struct signalfd_siginfo
     #define ECB_MEMORY_FENCE         __machine_rw_barrier ()
     #define ECB_MEMORY_FENCE_ACQUIRE __machine_r_barrier  ()
     #define ECB_MEMORY_FENCE_RELEASE __machine_w_barrier  ()
+  #elif __xlC__
+    #define ECB_MEMORY_FENCE         __lwsync ()
   #endif
 #endif