In a message dated 9/28/2005 12:23:00 P.M. Central Daylight Time,  
[EMAIL PROTECTED] writes:

>You  could write a subroutine to loop for one CPU second. That would  fulfill
>the letter of the request below.


True - the letter of the request.  But since it could take anywhere  from one 
elapsed second to many elapsed days for one CPU second to be consumed  by the 
looping process, it might not be of much practical value.  The  original 
poster may have had in mind one CPU second as being consumed by the  current 
task, 
but if the current task starts to wait for CPU time to  be consumed then no 
CPU time will be consumed while it is waiting since it is  waiting rather than 
executing any instructions.  I am still at a loss to  understand what was 
meant by waiting for 1 CPU second.
 
Bill Fairchild

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to