-   
   pol_sem
  
    -   
  
 Acquire semaphore resource (polling).
 
 	
  
  
    | 
 MOV     A, #semid
 
 CALL    !!_pol_sem
 | 
 
 
  
  
  
    |  |  |  | 
  
    |  | 
 ID      semid;
 | 
 ID number of the semaphore from which resource is acquired.
 | 
 
 This service call acquires a resource from the semaphore specified by parameter 
semid (subtracts 0x1 from the semaphore counter).
 
 If a resource could not be acquired from the target semaphore (semaphore counter is set to 0x0) when this service call is issued, the counter manipulation processing is not performed but "E_TMOUT" is returned.