git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
osi-wakeup-return-zero-on-doing-a-wakeup-20021008
[openafs.git]
/
src
/
afs
/
IRIX
/
osi_sleep.c
diff --git
a/src/afs/IRIX/osi_sleep.c
b/src/afs/IRIX/osi_sleep.c
index
5e791fb
..
12bfbfa
100644
(file)
--- a/
src/afs/IRIX/osi_sleep.c
+++ b/
src/afs/IRIX/osi_sleep.c
@@
-183,14
+183,17
@@
static int osi_TimedSleep(char *event, afs_int32 ams, int aintok)
}
-void afs_osi_Wakeup(void *event)
+int afs_osi_Wakeup(void *event)
{
+ int ret=1;
struct afs_event *evp;
evp = afs_getevent(event);
if (evp->refcount > 1) {
evp->seq++;
cv_broadcast(&evp->cond);
+ ret=0;
}
relevent(evp);
+ return ret;
}