#include <cafe/procui.h> ProcUIStatus ProcUISubProcessMessages(BOOL block);
||The process is currently in the foreground.|
||The process is currently in the background. This can only be returned if block is set to
||The process needs to release the foreground. Threads that encounter this message should stop doing work and sleep while calling
||The process needs to exit.|
Allows multiple threads to handle system messages. This function may be used by sub-loops that handle graphics commands.
ProcUIProcessMessagesdoes not wait for
ProcUISubProcessMessagesloops to idle. The operations performed in a
ProcUISubProcessMessagesloop must be valid in the background.
|Multiple threads||This function is not thread-safe.|
2013/05/08 Automated cleanup pass.
2012/09/19 Initial version.