summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ea6c1f7)
This hack was introduced in
d282cf6964d493
to workaround a race with start_searching(),
but these days is no more needed.
No functional change.
curSplitPoint = NULL;
start_fn = fn;
idx = Threads.size();
curSplitPoint = NULL;
start_fn = fn;
idx = Threads.size();
-
- do_sleep = (fn != &Thread::main_loop); // Avoid a race with start_searching()
if (!thread_create(handle, start_routine, this))
{
if (!thread_create(handle, start_routine, this))
{