tadd Lock to struct Ref. - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit d0bc889a8aa8cd80ec5a048b5825c82bd34edefb
DIR parent 49588d5d9089589ccda28c41aae90c29d6f72787
HTML Author: rsc <devnull@localhost>
Date: Wed, 17 Dec 2003 04:35:09 +0000
add Lock to struct Ref.
Diffstat:
M include/thread.h | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/include/thread.h b/include/thread.h
t@@ -60,6 +60,7 @@ struct Alt {
};
struct Ref {
+ Lock lk;
long ref;
};