-   
 
   can_wup
   ican_wup
  
    -   
  
 
 Cancel task wake-up requests.
 
 ER_UINT can_wup (ID tskid);
 ER_UINT ican_wup (ID tskid);
 
  
  
    | 
 | 
    
 | 
    
 | 
  
  
    | 
 | 
    
 ID      tskid;
 
 | 
    
 Value:	ID number of the task.
  
 | 
  
 
 These service calls cancel all of the wake-up requests queued to the task specified by parameter 
tskid (the wake-up request counter is set to 0), and return the number of cancelled wake-up requests.
 
 
  
  
    | 
 | 
    
 | 
    
 | 
  
  
    | 
 | 
    
 | 
    
 -	 When this service call was issued from a non-task,  TSK_SELF was specified for  tskid.
  
 | 
  
  
    | 
 | 
    
 | 
    
 -	 This service call was issued in the CPU locked state.
  
 -	 This service call was issued in the status PSW.IPL > kernel interrupt mask level.
  
 Note	 When the ican_wup is issued from task or the can_wup is issued from non-task, the context error is not detected and normal operation of the system is not guaranteed.
  
 | 
  
  
    | 
 | 
    
 | 
    
 -	 Specified task is in the DORMANT state.
  
 | 
  
  
    | 
 | 
    
 | 
    
 Normal completion (wake-up request count).
  
 |