paddybyers / node

evented I/O for v8 javascript
http://nodejs.org/
Other
92 stars 24 forks source link

libeio has pthread_atfork() as mandatory dependency #2

Closed paddybyers closed 13 years ago

paddybyers commented 13 years ago

libeio, on pthreads platforms, requires pthread_atfork().

Android does not have pthread_atfork().

However, node only does vfork(), and therefore pthread_atfork() should not in fact be required.

Suggest libeio has some build-time switch to configure for the case that pthread_atfork() functionality is not required.

This is currently worked around with this:

https://github.com/paddybyers/node/commit/f239a911a108231d76c6f193bab7da0a9d1dc0e3

paddybyers commented 13 years ago

This is no longer an issue on master.