FLTK logo

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

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 - [General Use] "anmol.... Oct 05, 2020  
 
I did look at that - the problem is portability. popen works on OSX and Linux, so if I get this to work, its easier to port.

I will revisit this later as someone suggested named pipes are much faster than piping to stdin as I am doing currently.

On Saturday, October 3, 2020 at 5:07:52 PM UTC+5:30 Ian MacArthur wrote:
Good, glad you found something that worked.

That said, if you are OK with using platform specific code, I do think you should look at Greg’s suggestion of using CreatePipe on Windows rather than the MS popen implementation, which can be “less good” sometimes...
Greg uses the popen/CreatePipe stuff in his work and knows what he’s talking about!

That should also get rid of the spurious console too, thus obviating the need for this hack at all!



--
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/b8b15568-f1dc-4b36-bf6f-0a3c3fd63eden%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'.