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] Ian MacArthur Oct 03, 2020  
 
On 3 Oct 2020, at 08:47, anmol.mishra wrote:
> 
> Found it. This method is a hack but it works consistently and the progress bar pops up - which is IMO a benefit.
> 


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/CB57897B-2674-48B4-8D5D-C34130B5DD57%40gmail.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'.