aboutsummaryrefslogtreecommitdiff
path: root/src/libventi/queue.h
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2007-04-08 01:30:26 +0000
committerrsc <devnull@localhost>2007-04-08 01:30:26 +0000
commit4f6d2bb1e8e38aaeeeabb159272da19718bfb05d (patch)
tree100758b863425d60071fea95e1ffb3a6ed0ada15 /src/libventi/queue.h
parent8ecb4ffe4c618bb484299a4a3b29f2a991903e53 (diff)
downloadplan9port-4f6d2bb1e8e38aaeeeabb159272da19718bfb05d.tar.gz
plan9port-4f6d2bb1e8e38aaeeeabb159272da19718bfb05d.tar.bz2
plan9port-4f6d2bb1e8e38aaeeeabb159272da19718bfb05d.zip
correct dangling pointer race (Bakul Shah)
Diffstat (limited to 'src/libventi/queue.h')
-rw-r--r--src/libventi/queue.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libventi/queue.h b/src/libventi/queue.h
index 2807783b..90ee1402 100644
--- a/src/libventi/queue.h
+++ b/src/libventi/queue.h
@@ -4,4 +4,5 @@ int _vtqsend(Queue*, void*);
void *_vtqrecv(Queue*);
void _vtqhangup(Queue*);
void *_vtnbqrecv(Queue*);
-void _vtqfree(Queue*);
+void _vtqdecref(Queue*);
+Queue *_vtqincref(Queue*);