|
|
>> I've had some success with a message-based system. >Wouldnt Fl::run() block the main loop though ? Thats what I am trying to avoid as its a loop that processes lots of data.
I must have missed that requirement. The model I'm using is the data processing is in a sub-process, not the main loop. The "historical" model for GUI programs is the main process is the GUI handler thread, and if there is significant, potentially blocking activity, it takes place in secondary threads.
I'll try to whack up a minimal example.
--
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/35623302-535c-472e-b7b0-c6704a17ea73n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |