Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
darwin: assume CFRunLoopStop() isn't thread-safe
Use signaling mechanism for loop termination, because CFRunLoopStop() is most likely not a thread-safe function and invoking it from other thread may sometimes result in a "dead-lock". fix joyent#799
- Loading branch information