ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.c
(Generate patch)

Comparing libev/ev.c (file contents):
Revision 1.396 by root, Wed Aug 24 16:13:17 2011 UTC vs.
Revision 1.397 by root, Wed Aug 24 16:13:41 2011 UTC

859#endif 859#endif
860 860
861/* ECB.H END */ 861/* ECB.H END */
862 862
863#if ECB_MEMORY_FENCE_NEEDS_PTHREADS 863#if ECB_MEMORY_FENCE_NEEDS_PTHREADS
864/* if your architetcure doesn't need memory fences, e.g. because it is 864/* if your architecture doesn't need memory fences, e.g. because it is
865 * single-cpu/core, or if you use libev in a project that doesn't use libev 865 * single-cpu/core, or if you use libev in a project that doesn't use libev
866 * from multiple threads, then you can define ECB_AVOID_PTHREADS when compiling 866 * from multiple threads, then you can define ECB_AVOID_PTHREADS when compiling
867 * libev, in which casess the memory fences become nops. 867 * libev, in which casess the memory fences become nops.
868 * alternatively, you can remove this #error and link against libpthread, 868 * alternatively, you can remove this #error and link against libpthread,
869 * which will then provide the memory fences. 869 * which will then provide the memory fences.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines