]> rtime.felk.cvut.cz Git - sojka/libev.git/commitdiff
*** empty log message ***
authorMarc Alexander Lehmann <libev@schmorp.de>
Sat, 24 Mar 2012 19:38:51 +0000 (19:38 +0000)
committerMarc Alexander Lehmann <libev@schmorp.de>
Sat, 24 Mar 2012 19:38:51 +0000 (19:38 +0000)
ev.3
ev.c

diff --git a/ev.3 b/ev.3
index 2e3365e4e9f7dcc3f6638a54a7c1d8f97600a47a..2721ca3b91db0a0b1153aa4d08bc3e839ea36ddd 100644 (file)
--- a/ev.3
+++ b/ev.3
 .\" ========================================================================
 .\"
 .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 7ae3138e64712dec76d66e5f3fb9f3e450ea283c..98efcf9a76022dc8eb44381fa8c0efac575c9f32 100644 (file)
--- 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