Do not wait for sleeping in init_threads()
authorMarco Costalba <mcostalba@gmail.com>
Sat, 27 Feb 2010 12:26:04 +0000 (13:26 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 27 Feb 2010 12:26:04 +0000 (13:26 +0100)
commit57340c109b0ddd8764bf73dfa3bfe2bbe7928b59
tree4e1b6973ee48465db591549ae1c40c3926ff5ab7
parent111aa446625b79a61c6b55a151377592e72c3caf
Do not wait for sleeping in init_threads()

We can't do it with full guarantee anyway because
there is always a possible race between the setting of
state to THREAD_SLEEPING and actual sleeping.

So just remove the not perfect code to avoid misunderstandings.
This reflects what we have done in wake_sleeping_threads() in
the previous patch.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp