mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
46a55303ae
Timer is implemented with internal queue. If a user wants to cancel all pending tasks it can call .cancel to schedule CancelNotification. As a part of processing of CancelNotification it will just flush the whole queue. It does have special processing for StopNotification so that Timer destruction doesn't get blocked. Now if we first schedule async cancel and before this first cancel is processed we schedule another cancel but this time a sync second one will block because it is never notified that all tasks are canceled, _finished event is never set on that flushed CancelNotification. Fix: add diffrent processing in case of CancelNotification to set all of it's _finished events. Also add a test for this situation. |
||
---|---|---|
.. | ||
cmake | ||
include/Poco/Util | ||
samples | ||
src | ||
testsuite | ||
CMakeLists.txt | ||
dependencies | ||
Makefile | ||
Util_vs90.sln | ||
Util_vs90.vcproj | ||
Util_vs140.sln | ||
Util_vs140.vcxproj | ||
Util_vs140.vcxproj.filters | ||
Util_vs150.sln | ||
Util_vs150.vcxproj | ||
Util_vs150.vcxproj.filters | ||
Util_vs160.sln | ||
Util_vs160.vcxproj | ||
Util_vs160.vcxproj.filters | ||
Util_vs170.sln | ||
Util_vs170.vcxproj | ||
Util_vs170.vcxproj.filters | ||
Util.progen |