FLTK logo

Re: [fltk.coredev] About mixing Fl::awake(Fl_Awake_Handler, void*) and Fl::awake(void*)

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.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: About mixing Fl::awake(Fl_Awake_Handler, void*) and Fl::awake(void*) Ian MacArthur Jul 05, 2021  
 
On 5 Jul 2021, at 14:09, Manolo wrote:
> 
> 
> Does any fellow developer know why the FLTK threading doc states :
> "Don't intermix use of Fl::awake(Fl_Awake_Handler cb, void* userdata) and Fl::awake(void* message) calls in the same program as they may interact unpredictably on some platforms” ?


A lot of that text was written by me - but ISTR the warning about mixing the two styles of awake() method predates my updates and came (maybe?) from Matt... 
Who I think added the Fl::awake(Fl_Awake_Handler cb, void* userdata) stuff, whereas the Fl::awake(void* message) is older...

> 
> Do these platforms include Linux?

I’m not sure - I stared at the code for a bit, and I’m not seeing anything that would obviously cause it to fail, but then again... If Matt is around (he sometimes is) then he might know more about this, I think.



-- 
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/125AAE08-A4AE-4BE1-9B48-AC2F0433A8DA%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'.