FLTK logo

Re: [fltk.general] Use worker thread to call Fl_Window and Fl_run

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Use worker thread to call Fl_Window and Fl_run "anmol.... Oct 01, 2020  
  I've got a popen and pclose setup already going on. And I'm trying to avoid starting other processes ATM, however I'd love to see your implementation - perhaps an example posted in this thread or a new one ?

On Thursday, October 1, 2020 at 3:02:07 AM UTC+5:30 pdh...@compintensehpc.com wrote:
In case it might be of interest, I have also had success doing FLTK things from the main thread in a parent process and the main thread in a child subprocess(es) that are coordinating via a 2-way Unix pipe. Effectively, multiple FLTK heavyweight threads doing graphics operations in a coordinated way. Actually performs well. Of course, this is on Linux. I believe this obviates any need for locking as is required for lightweight (same process) threads.

--
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/759ff8df-bed1-4748-be8d-f6f6f12f2e6dn%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.