>is this how its susposed to work? yes. the queued locks are associated with data, not with a process: one process can acquire the lock and another release it. that probably isn't used often at all, but it's the best way to think of it. spin locks have a tighter link with a process because (after all) they're intended for short sections of code without rescheduling.
- [9fans] rwlocks on plan9 Steve Simon
- Re: [9fans] rwlocks on plan9 Charles Forsyth
- Re: [9fans] rwlocks on plan9 Sape Mullender
- Re: [9fans] rwlocks on plan9 Steve Simon
