Opened 7 years ago
Closed 7 years ago
#205 closed defect (fixed)
pthread: pthread_rwlock_trywrlock() return 0 even if the other thread already acquired rdlock
| Reported by: | KO Myung-Hun | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | *none | Version: | |
| Severity: | medium | Keywords: | |
| Cc: |
Description
Hi/2.
pthread_rwlock_trywrlock() should return EBUSY when the other thread already had a rdlock or a wrlock.
Attachments (1)
Change History (2)
by , 7 years ago
| Attachment: | trywrlock_ebusy.diff added |
|---|
comment:1 by , 7 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
fixed in r2329
thx for the patch
Note:
See TracTickets
for help on using tickets.

Patch for pthread_rwlock_trywrlock() returning 0 even if the other thread already had lock