aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-12-17 04:35:09 +0000
committerrsc <devnull@localhost>2003-12-17 04:35:09 +0000
commitd0bc889a8aa8cd80ec5a048b5825c82bd34edefb (patch)
treee19c572ed36a99124d5bc990ba1980d629a0bfd1
parent49588d5d9089589ccda28c41aae90c29d6f72787 (diff)
downloadplan9port-d0bc889a8aa8cd80ec5a048b5825c82bd34edefb.tar.gz
plan9port-d0bc889a8aa8cd80ec5a048b5825c82bd34edefb.tar.bz2
plan9port-d0bc889a8aa8cd80ec5a048b5825c82bd34edefb.zip
add Lock to struct Ref.
-rw-r--r--include/thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/thread.h b/include/thread.h
index 0eb02b52..b4a1c946 100644
--- a/include/thread.h
+++ b/include/thread.h
@@ -60,6 +60,7 @@ struct Alt {
};
struct Ref {
+ Lock lk;
long ref;
};