From: Jim Rees Date: Sat, 1 Mar 2003 18:16:01 +0000 (+0000) Subject: openbsd-20030301 X-Git-Tag: openafs-devel-1_3_50~356 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=081f1765839834e8e06e8d0b8294ab54ced5c238 openbsd-20030301 Use PVFS for tsleep. PZERO is obsolete. --- diff --git a/src/afs/OBSD/osi_sleep.c b/src/afs/OBSD/osi_sleep.c index f22922f..268ad7a 100644 --- a/src/afs/OBSD/osi_sleep.c +++ b/src/afs/OBSD/osi_sleep.c @@ -90,11 +90,11 @@ int afs_osi_Wait(afs_int32 ams, struct afs_osi_WaitHandle *ahandle, int aintok) AFS_GUNLOCK(); do { if (aintok) { - code = tsleep(&waitV, PCATCH | (PZERO+8), "afs_osi_Wait", timo); + code = tsleep(&waitV, PCATCH | PVFS, "afs_osi_Wait", timo); if (code) /* if interrupted, return EINTR */ code = EINTR; } else - tsleep(&waitV, (PZERO-3), "afs_osi_Wait", timo); + tsleep(&waitV, PVFS, "afs_osi_Wait", timo); /* if we were cancelled, quit now */ if (ahandle && (ahandle->proc == NULL)) {