From 7ee06b1129532105862e36edfa00ef9577898b22 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 24 Mar 2012 19:38:51 +0000 Subject: *** empty log message *** --- ev.3 | 6 +++++- ev.c | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ev.3 b/ev.3 index 2e3365e..2721ca3 100644 --- a/ev.3 +++ b/ev.3 @@ -124,7 +124,7 @@ .\" ======================================================================== .\" .IX Title "LIBEV 3" -.TH LIBEV 3 "2012-02-04" "libev-4.11" "libev - high performance full featured event loop" +.TH LIBEV 3 "2012-03-23" "libev-4.11" "libev - high performance full featured event loop" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -4058,6 +4058,10 @@ to add as long as they only need one additional pointer for context. If you need support for other types of functors please contact the author (preferably after implementing it). .PP +For all this to work, your \*(C+ compiler either has to use the same calling +conventions as your C compiler (for static member functions), or you have +to embed libev and compile libev itself as \*(C+. +.PP Here is a list of things available in the \f(CW\*(C`ev\*(C'\fR namespace: .ie n .IP """ev::READ"", ""ev::WRITE"" etc." 4 .el .IP "\f(CWev::READ\fR, \f(CWev::WRITE\fR etc." 4 diff --git a/ev.c b/ev.c index 7ae3138..98efcf9 100644 --- a/ev.c +++ b/ev.c @@ -604,7 +604,7 @@ struct signalfd_siginfo #define ECB_MEMORY_FENCE_ACQUIRE __machine_r_barrier () #define ECB_MEMORY_FENCE_RELEASE __machine_w_barrier () #elif __xlC__ - #define ECB_MEMORY_FENCE __lwsync () + #define ECB_MEMORY_FENCE __sync () #endif #endif -- cgit v1.2.3