Files
tor/src/or
Nick Mathewson fd992deeea Don't attempt to log messages to a controller from a worker thread.
This patch adds a function to determine whether we're in the main
thread, and changes control_event_logmsg() to return immediately if
we're in a subthread.  This is necessary because otherwise we will
call connection_write_to_buf, which modifies non-locked data
structures.

Bugfix on 0.2.0.x; fix for at least one of the things currently
called "bug 977".
2009-05-30 18:16:24 -04:00
..
2009-05-27 17:55:51 -04:00
2009-05-27 17:55:51 -04:00
2009-05-04 11:28:27 -04:00
2009-05-04 11:28:27 -04:00
2009-05-27 17:55:51 -04:00
2009-05-04 11:28:27 -04:00
2009-05-27 17:55:51 -04:00
2009-05-04 11:28:27 -04:00
2009-05-27 17:55:51 -04:00
2009-05-27 17:55:51 -04:00
2009-05-27 17:55:51 -04:00
2009-05-04 11:28:27 -04:00
2009-05-04 11:28:27 -04:00
2009-05-27 17:55:51 -04:00
2009-05-27 17:55:51 -04:00
2009-05-27 17:55:51 -04:00
2009-05-27 17:55:51 -04:00
2009-05-27 17:55:51 -04:00
2009-05-28 12:26:17 -04:00
2009-05-27 17:55:51 -04:00
2009-05-04 11:28:27 -04:00
2009-05-28 12:26:17 -04:00
2009-05-27 17:55:51 -04:00
2009-05-04 11:28:27 -04:00
2009-05-04 11:28:27 -04:00
2009-05-27 17:55:51 -04:00
2009-05-27 17:55:51 -04:00
2009-05-27 17:55:51 -04:00
2009-05-27 17:55:51 -04:00
2009-05-27 17:55:51 -04:00
2009-05-04 11:28:27 -04:00
2009-05-04 11:28:27 -04:00