]> sourceware.org Git - newlib-cygwin.git/commit - winsup/cygwin/thread.cc
Throughout change all calls of low_priority_sleep (0) to yield ().
authorChristopher Faylor <me@cgf.cx>
Fri, 12 Mar 2010 23:13:48 +0000 (23:13 +0000)
committerChristopher Faylor <me@cgf.cx>
Fri, 12 Mar 2010 23:13:48 +0000 (23:13 +0000)
commit084ea5108e86738a09288268b186541b0c23920a
tree93ad21c3c750fe12e7792ff8679b87888992dc3d
parent36960dec3721fccc8eb931787a2656cf715bfc39
Throughout change all calls of low_priority_sleep (0) to yield ().
* miscfuncs.cc (yield): Rename from low_priority_sleep.  Remove all of the
logic which called Sleep() and just use SwitchToThread.
* miscfuncs.h (yield): Rename from low_priority_sleep.
(SLEEP_0_STAY_LOW): Delete unused define.
* shared.cc (memory_init): Move heap_init() call directly after shared memory
initialization to more closely mimic long-standing program flow.
* tty.cc (tty_list::terminate): Replace call to low_priority_sleep with Sleep.
18 files changed:
winsup/cygwin/ChangeLog
winsup/cygwin/autoload.cc
winsup/cygwin/cygthread.cc
winsup/cygwin/dcrt0.cc
winsup/cygwin/exceptions.cc
winsup/cygwin/fhandler_fifo.cc
winsup/cygwin/fhandler_proc.cc
winsup/cygwin/gendef
winsup/cygwin/miscfuncs.cc
winsup/cygwin/miscfuncs.h
winsup/cygwin/net.cc
winsup/cygwin/pinfo.cc
winsup/cygwin/sched.cc
winsup/cygwin/shared.cc
winsup/cygwin/sigproc.cc
winsup/cygwin/sync.cc
winsup/cygwin/thread.cc
winsup/cygwin/tty.cc
This page took 0.031832 seconds and 5 git commands to generate.