diff options
author | rpj <rpj> | 2003-09-18 02:31:39 +0000 |
---|---|---|
committer | rpj <rpj> | 2003-09-18 02:31:39 +0000 |
commit | af1871fba4fc253b5a31e4a0eed667fe79f534d7 (patch) | |
tree | 1242599d7334ae50c5c05f9b23b52876e4287924 /pthread_self.c | |
parent | fac679912b15dd89cafdb09bf873d7eacc80a05e (diff) |
Cleanup and fixes to thread priority management. Other minor changes.snap-2003-09-18
Diffstat (limited to 'pthread_self.c')
-rw-r--r-- | pthread_self.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pthread_self.c b/pthread_self.c index e7a81b8..61979cd 100644 --- a/pthread_self.c +++ b/pthread_self.c @@ -115,6 +115,12 @@ pthread_self (void) return (NULL); } #endif + + /* + * No need to explicitly serialise access to sched_priority + * because the new handle is not yet public. + */ + self->sched_priority = GetThreadPriority(self->threadH); } pthread_setspecific (ptw32_selfThreadKey, self); |