|
|
On 1 Oct 2020, at 14:39, lifeattickville wrote:
>
> I've had some success with a message-based system.
>
> In the forked process I invoke Fl::handle_() with a custom message code. In the main code I establish a handler using Fl::add_handler(). Fl::run() operates as normal. Something like:
Hmmm... OK...
TBH, I think I’d just use the Fl::awake() mechanism to pass callbacks to the main thread to be processed, as that is how we envisaged doing this TBH...
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/9C2F20A0-3ADF-45E2-8BA2-740A2B1C966C%40gmail.com.
[ Direct Link to Message ] | |
|
| |