Closed e2 closed 8 years ago
Since the local variable 'worker' was modified on each iteration, some threads "caught" the value in the wrong state.
Using an array with an enumerator guarantees each thread receives a block with a separate copy of the variable.
This change introduced a bug in darwin adapter _log_exception 'fsevent: running worker failed: %s: %s' has incorrect number of parameters.
_log_exception 'fsevent: running worker failed: %s: %s'
Since the local variable 'worker' was modified on each iteration, some threads "caught" the value in the wrong state.
Using an array with an enumerator guarantees each thread receives a block with a separate copy of the variable.