PGL services: Difference between revisions

No edit summary
 
Line 138: Line 138:
No input. Returns an output [[#ShellEventInfo]].
No input. Returns an output [[#ShellEventInfo]].


This attempts to receive a [[Process_Manager_services#ProcessEventInfo]] from the observer's message queue.
This attempts to receive a [[Process_Manager_services#ProcessEventInfo|ProcessEventInfo]] from the observer's message queue.


Every time a process event occurs, pgl receives the event from PM (it does pm:shell->GetProcessEventHandle() during startup and has a thread looping pm:shell->GetProcessEventInfo() to track process events.
Every time a process event occurs, pgl receives the event from PM (it does pm:shell->GetProcessEventHandle() during startup and has a thread looping pm:shell->GetProcessEventInfo() to track process events.


PGL sends to all observers' message queues a [[Process_Manager_services#ProcessEventInfo]] for each event it receives, thus allowing for multiple subscribers to process events.
PGL sends to all observers' message queues a [[Process_Manager_services#ProcessEventInfo|ProcessEventInfo]] for each event it receives, thus allowing for multiple subscribers to process events.


= LaunchFlags =
= LaunchFlags =