nmathewson/Libevent — pull request #58 by monadbobo (2012-06-14 09:52:31+00:00)
Title: fix bug of event_pending and event_initialized in mutilthread.

fix bug of event_pending and event_initialized in mutilthread.

example:
There is 2 thread, event1 be created in thread1, and it will call event_pending to dicide whether call event_add event1 in thread2. in addition it maybe call event_add in thread1. and so this will cause race.