XPRDwaitevent
| XPRDwaitevent | 
  Purpose
 
  
  Synopsis
 
 int XPRDwaitevent(XPRDcontext ctx, int timeout);
 
  Arguments
 
 | 
     ctx 
     | 
     XPRD context
     | 
| 
     timeout 
     | 
     maximum wait time (in seconds). A value smaller than 1 will cause an infinite wait
     | 
  Return value
 
 
 1 if the time limit has been reached, 0 otherwise.
 
  Further information
 
 
  If the event queue is not empty this routine returns immediately. This function can be interrupted by a call to
 XPRDabortwait (from a separate thread). In this case the function returns 0 even if the queue is empty.
 
 
  Related topics
 
  
