#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 13 months 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 13 months 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 13 months ago by Silvan Scherrer

Resolution: fixed
Status: newclosed

fixed in r2329
thx for the patch

Note: See TracTickets for help on using tickets.