DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2848
Version: 1.3-current


Hi Peeter,

Great that you're checking in; sounds great.

I'm quite sure based on the leak report you showed that is was caused
by the use of FLTK's add_fd() call; the references to the FLTK
method DataReady() in your report makes that clear.

Just so you know what's going on under the hood:

Under OSX only: when you use add_fd(), FLTK internally starts a
child thread to monitor the fd with select(). and that thread
sends events to the main thread to wake it up, so that your callback
can be invoked.

This was done because the Apple event manager didn't support a way
to come out of its event loop on file descriptor activity. 

So if you see "DataReady" in leak or crash reports on OSX, the cause
will be related to FLTK's add_fd() call.


Link: http://www.fltk.org/str.php?L2848
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to