| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |
Arguments: whostate function &rest args
This function is needed only on platforms where Allegro's threads are
not native operating system threads. On these platforms, the value of
*use-single-cg-event-handling-process*
will be
true. It is also the case on these platforms that events cannot be
handled while the *single-cg-event-handling-process*
is in a call
to process-wait. Therefore,
if the *single-cg-event-handling-process*
does call
process-wait, all
event-handling would be permanently hung.
To avoid this problem, you can call cg-process-wait instead of process-wait in any code that might be run on a non-native threads platform in Common Graphics's event-handling process. If the platform uses native threads or the call is not in Common Graphics's event-handling process, then process-wait is called directly. Otherwise the non-native threads event-handling process will emulate process-wait by calling the specified function in an event-handling loop until the function returns true.
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.
| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |