1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- In __time_delay() the CheckIO() test was wrong and should have

tested for a request still in progress. Fixed.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15014 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-08-02 10:18:50 +00:00
parent b1f08e4123
commit 79be2279ec
3 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: unistd_time_delay.c,v 1.5 2005-03-18 12:38:25 obarthel Exp $
* $Id: unistd_time_delay.c,v 1.6 2005-08-02 10:18:50 obarthel Exp $
*
* :ts=4
*
@ -106,7 +106,7 @@ __time_delay(unsigned long seconds,unsigned long microseconds)
{
ULONG seconds_now;
if(CheckIO((struct IORequest *)__timer_request))
if(CheckIO((struct IORequest *)__timer_request) == BUSY)
AbortIO((struct IORequest *)__timer_request);
WaitIO((struct IORequest *)__timer_request);