comp.lang.ada
 help / color / mirror / Atom feed
* Neater entry point code
@ 1997-12-18  0:00 Mark Rutten
  1997-12-17  0:00 ` Matthew Heaney
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mark Rutten @ 1997-12-18  0:00 UTC (permalink / raw)





The code that I have at the moment looks like

    while Execute'Count /= 0 loop

      accept Execute( In_Msg: in Message_Typ ) do
        Msg := In_Msg;
      end Execute;

      Add_Msg(Msg);

    end loop;

    Execute_Stuff;


What I'm trying to do is extract anything that's queued up
on the entry point and then go off and do something else.

Is there a neater way of doing this? I don't want to use another
task to do either Add_Msg or Execute_Stuff.

Thanks,
Mark






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-12-18  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-18  0:00 Neater entry point code Mark Rutten
1997-12-17  0:00 ` Matthew Heaney
1997-12-18  0:00 ` Ben Brosgol
1997-12-18  0:00 ` Jean-Pierre Rosen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox