Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 10 years ago
parent
commit
1e159ca63a
  1. 1
      Changes
  2. 2
      ev.c

1
Changes

@ -15,6 +15,7 @@ TODO: throw() for most ev.h functions
libev's EV_ERROR (reported by 191919).
- (ecb) add memory fence support for xlC (Darin McBride).
- (ecb) add memory fence support for gcc-mips (Anton Kirilov).
- (ecb) add memory fence support for gcc-alpha (Christian Weisgerber).
- work around some kernels losing file descriptors by leaking
the kqueue descriptor in the child.

2
ev.c

@ -581,6 +581,8 @@ struct signalfd_siginfo
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("bcr 15,0" : : : "memory")
#elif defined __mips__
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("sync" : : : "memory")
#elif defined __alpha__
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("mb" : : : "memory")
#endif
#endif
#endif

Loading…
Cancel
Save