Bug fix: new job could be ignored if it arrived with precise timing.
This commit is contained in:
@@ -438,7 +438,7 @@ class ThreadPool extends WorkOutput
|
|||||||
if (interruption == null || output.__jobComplete.value)
|
if (interruption == null || output.__jobComplete.value)
|
||||||
{
|
{
|
||||||
// Work is done; wait for more.
|
// Work is done; wait for more.
|
||||||
event = null;
|
event = interruption;
|
||||||
}
|
}
|
||||||
else if(#if (haxe_ver >= 4.2) Std.isOfType #else Std.is #end (interruption, ThreadEvent))
|
else if(#if (haxe_ver >= 4.2) Std.isOfType #else Std.is #end (interruption, ThreadEvent))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user