
{    The purpose of this routine is to scan the list of tasks, which are waiting
{    for an RHFAM event, and readying any task whose corresponding event has
{    occurred.
{
{    FOR  each entry in the event list  DO
{      IF  event has occurred
{          OR the system task is shutting down  THEN
{        mark the event that occurred.
{        wake up the corresponding task.
{      IFEND
{    FOREND
{
{    current_time: (input) This parameter specifies the current time, in
{      microseconds.
{
{    system_task_shutdown: (input) This parameter specifies whether or not to
{      unconditionally restart all tasks waiting for an RHFAM/VE event.  This
{      flag is used for shut-down purposes.
