all mutexes -> read-write locks?

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Jun 2 17:34:41 UTC 2008


In message <Pine.GSO.4.64.0806021300290.3976 at sea.ntplx.net>, Daniel Eischen wri
tes:

>It doesn't, it shows one reason why mutexes can be different
>than read/write locks.

Agreed.

There is no easy way to determine which mutexes can be rw_locks,
so take the correct route: education.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-arch mailing list