Boost logo

Boost :

Subject: [boost] [MPI?] which API should i use for this?
From: David M. Cotter (me_at_[hidden])
Date: 2009-10-07 15:18:32


I have a need to send an "event" to the "main thread's event loop".

this may be done from a preemptive thread, a cooperative thread, a
timer, or even the main thread itself. i want it to be posted into
the event stream and handled in the order that events get processed on
the main thread.

would i use 'MPI'? or 'interprocess'? or is there a 'thread' way to
do this?
if it's MPI, what would be the right call?

i'm coming from Mac land where i have traditionally used
PostEventToQueue()


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk