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

@@ -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));
}