> I began to use pthreads for win32,
Not necessary, and actually might make the fltk native threads misbehave, since most pthreads clones on winxx are wrapping native winxx threads with additional context that the fltk core does not know about... I'd advocate using native threads on each host. Look at the threads demo in the test folder, and read the docs. Can you tell us what you are trying to do? Maybe one of us has a simple example lying around that might point you in the correct direction. Note, also, that for a lot of UI tasks, there are ways to get very similar effects using timers and polling, so if the threads give you problems or make you uneasy, you can probably live without them. I'm a big fan of threads, and use them a lot, but they make it *really easy* to mess things up in C and C++, so threading is Not Easy. Many others here favour "thread avoidance" though as it makes the code generally more "predictable" in its behaviour! -- Ian SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

