diff options
author | Christopher Faylor <me@cgf.cx> | 2002-02-17 04:59:55 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-02-17 04:59:55 +0000 |
commit | 2bd22312df4fd5be14d8833a22ed7abbdcc35559 (patch) | |
tree | 2e976ef7c240c812b447017d75716d3ea1e3f7c5 /winsup/cygwin/times.cc | |
parent | 9490dffa7b0c5497bb3a8f4eec9f0e460342adc1 (diff) | |
download | cygnal-2bd22312df4fd5be14d8833a22ed7abbdcc35559.tar.gz cygnal-2bd22312df4fd5be14d8833a22ed7abbdcc35559.tar.bz2 cygnal-2bd22312df4fd5be14d8833a22ed7abbdcc35559.zip |
* times.cc (hires::prime): Restore thread priority on failure condition.
* uinfo.cc (uinfo_init): Use more robust method for determining if process was
invoked from a non-cygwin process.
* sync.h (muto::init): Eliminate "inheritance" parameter.
(new_muto): Reflect removal of parameter.
* sync.cc (muto::init): Ditto.
* cygheap.cc (cygheap_init): Ditto.
* debug.cc (threadname_init): Ditto.
* exceptions.cc (events_init): Ditto.
* malloc.cc (malloc_init): Ditto.
* path.cc (cwdstuff::init): Ditto.
* sigproc.cc (sigproc_init): Ditto.
* grp.cc (group_lock): Use different method for locking with static member.
(read_etc_group): REALLY ensure that read lock mutex is released.
* passwd.cc (passwd_lock): Use different method for locking with static member.
(read_etc_passwd): REALLY ensure that read lock mutex is released.
* shared.cc (sec_user): Correct reversed inheritance test.
Diffstat (limited to 'winsup/cygwin/times.cc')
-rw-r--r-- | winsup/cygwin/times.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc index 032e32fb5..9674d1031 100644 --- a/winsup/cygwin/times.cc +++ b/winsup/cygwin/times.cc @@ -573,6 +573,7 @@ hires::prime () SetThreadPriority (GetCurrentThread (), THREAD_PRIORITY_TIME_CRITICAL); if (!QueryPerformanceCounter (&primed_pc)) { + SetThreadPriority (GetCurrentThread (), priority); inited = -1; return; } |