plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit d0bc889a8aa8cd80ec5a048b5825c82bd34edefb
parent 49588d5d9089589ccda28c41aae90c29d6f72787
Author: rsc <devnull@localhost>
Date:   Wed, 17 Dec 2003 04:35:09 +0000

add Lock to struct Ref.

Diffstat:
Minclude/thread.h | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/include/thread.h b/include/thread.h @@ -60,6 +60,7 @@ struct Alt { }; struct Ref { + Lock lk; long ref; };