Commit c7a06bfaee7f96327779972214e8b744170531ff

Nick Mathewson 2010-09-08T13:02:58

Avoid needlessly calling evthread_notify_base() when the loop is not running Also make sure that we always hold the base lock when calling evthread_notify_base.