This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to implement readers-writer lock with timeout, a hard question.


ChenïéïJunïåï åé:

I look into the definition of pthread_rwlock_timedrdlock, there is a mysterious lll_futex_timed_wait to carry out the wait operation. And in pthread_rwlock_unlock, there is lll_futex_wake to do the wakeup. What are those futex operations, are they documented somewhere?



Oh, I've found futex document in Linux man pages, thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]