Changeset 165691 in webkit for trunk/Source/WTF/wtf/ThreadingPthreads.cpp
- Timestamp:
- Mar 15, 2014, 11:06:03 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/wtf/ThreadingPthreads.cpp
r165687 r165691 211 211 212 212 { 213 // We don't want to lock across the call to join, since that can block our thread and cause deadlock.214 213 MutexLocker locker(threadMapMutex()); 215 214 pthreadHandle = pthreadHandleForIdentifierWithLockAlreadyHeld(threadID); … … 220 219 struct sched_param param; 221 220 222 if (pthread_getschedparam(pthread _self(), &policy, ¶m))221 if (pthread_getschedparam(pthreadHandle, &policy, ¶m)) 223 222 return; 224 223 225 224 param.sched_priority += delta; 226 225 227 pthread_setschedparam(pthread _self(), policy, ¶m);226 pthread_setschedparam(pthreadHandle, policy, ¶m); 228 227 } 229 228
Note:
See TracChangeset
for help on using the changeset viewer.