summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes7
-rw-r--r--ev.c2
2 files changed, 9 insertions, 0 deletions
diff --git a/Changes b/Changes
index dd274f8..ae491e1 100644
--- 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 db76803..7ae3138 100644
--- 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