mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 14:07:39 +00:00
STABLE14-openafs-sleep-20050726
tsleep on "afsslp" in afs_osi_Sleep (cherry picked from commit 575cbd4a2f231f7bcaaf92a356afa61a4ae170dc)
This commit is contained in:
parent
202c4ea660
commit
40b2927a58
@ -115,17 +115,14 @@ afs_osi_Sleep(void *event)
|
|||||||
{
|
{
|
||||||
AFS_ASSERT_GLOCK();
|
AFS_ASSERT_GLOCK();
|
||||||
AFS_GUNLOCK();
|
AFS_GUNLOCK();
|
||||||
tsleep(event, PVFS, "afs", 0);
|
tsleep(event, PVFS, "afsslp", 0);
|
||||||
AFS_GLOCK();
|
AFS_GLOCK();
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
afs_osi_SleepSig(void *event)
|
afs_osi_SleepSig(void *event)
|
||||||
{
|
{
|
||||||
AFS_ASSERT_GLOCK();
|
afs_osi_Sleep(event);
|
||||||
AFS_GUNLOCK();
|
|
||||||
tsleep(event, PVFS, "afs", 0);
|
|
||||||
AFS_GLOCK();
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user