mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-22 19:21:23 +00:00
o use NSTimeIntervalSleep instead of usleep
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18177 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
60b14cbd95
commit
da415be0c7
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ RCS_ID("$Id$")
|
|||
currentTime=(int)time(NULL);
|
||||
if (isCheckedOut) // Session already check out. Wait...
|
||||
{
|
||||
usleep(10000); // sleep for 10 ms
|
||||
NSTimeIntervalSleep(0.010); // sleep for 10 ms
|
||||
if (tryCount%100==0)
|
||||
NSLog(@"Try check out %@ for %d seconds (tryCount=%d)",aSessionID,(currentTime-startTime),tryCount);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue