On 6/21/25 17:56, danielc...@gmail.com wrote:
Hi, the same app on windows mingw works well, it's v1.4, but in linux Fl::awake doesnt call the function for the main thread. Tried compile with flags below but still doenst call.
[..] It's not necessary to wrap calls to any form of Fl::awake() by Fl::lock() and Fl::unlock().
Nevertheless, the early, single call to Fl::lock() used to initialize threading support is necessary.
Have a look at the test/threads.cxx example for some info.
Putting your code into a full program, this works for me: