added wait_for_alert to python binding

This commit is contained in:
Arvid Norberg
2009-09-25 14:35:28 +00:00
parent 7e430d5a2a
commit ef6e709ef6
3 changed files with 9 additions and 0 deletions

View File

@@ -930,6 +930,8 @@ same pointer until the alert is popped by calling ``pop_alert``. This is useful
leaving any alert dispatching mechanism independent of this blocking call, the dispatcher
can be called and it can pop the alert independently.
In the python binding, ``wait_for_alert`` takes the number of milliseconds to wait as an integer.
``set_alert_queue_size_limit()`` you can specify how many alerts can be awaiting for dispatching.
If this limit is reached, new incoming alerts can not be received until alerts are popped
by calling ``pop_alert``. Default value is 1000.