fix threading in python binding for wait_for_alert

This commit is contained in:
Arvid Norberg 2011-01-16 22:26:15 +00:00
parent 8c851b4d34
commit 284fc70cd0
2 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,7 @@
incoming connection
* added more detailed instrumentation of the disk I/O thread
* fix python binding for wait_for_alert
* only apply privileged port filter to DHT-only peers
0.15.5 release

View File

@ -214,6 +214,7 @@ namespace
alert const* wait_for_alert(session& s, int ms)
{
allow_threading_guard guard;
return s.wait_for_alert(milliseconds(ms));
}