Opened 5 years ago

Closed 5 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)

trywrlock_ebusy.diff (291 bytes) - added by KO Myung-Hun 5 years ago.
Patch for pthread_rwlock_trywrlock() returning 0 even if the other thread already had lock

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by KO Myung-Hun

Attachment: trywrlock_ebusy.diff added

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

comment:1 Changed 5 years ago by Silvan Scherrer

Resolution: fixed
Status: newclosed

fixed in r2329
thx for the patch

Note: See TracTickets for help on using tickets.