summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_rwlockattr.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert revision 214007, I realized that MySQL wants to resolvedavidxu2010-10-201-22/+0
| | | | | | | a silly rwlock deadlock problem, the deadlock is caused by writer waiters, if a thread has already locked a reader lock, and wants to acquire another reader lock, it will be blocked by writer waiters, but we had already fixed it years ago.
* Set default type to PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, thisdavidxu2010-10-181-0/+1
| | | | is the type we are using.
* s/||/&&davidxu2010-10-181-2/+2
|
* Add pthread_rwlockattr_setkind_np and pthread_rwlockattr_getkind_np, thedavidxu2010-10-181-0/+20
| | | | | | | | | functions set or get pthread_rwlock type, current supported types are: PTHREAD_RWLOCK_PREFER_READER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, PTHREAD_RWLOCK_PREFER_WRITER_NP, default is PTHREAD_RWLOCK_PREFER_WRITER_NONCECURSIVE_NP, this maintains binary compatible with old code.
* WARNS level 4 cleanup.davidxu2006-04-041-1/+3
|
* - Add libthr but don't hook it up to the regular build yet. This is anjeff2003-04-011-0/+98
adaptation of libc_r for the thr system call interface. This is beta quality code.
OpenPOWER on IntegriCloud