Duncan,

thanks for the idea, but I think boost uses pthreads, too. and the
solution of Shon works great (using fltk::event_key()).

Cheers,
Tom

Duncan Gibson wrote:
>> in an application of mine I have two threads:
>> 1. The main GUI thread and
>> 2. A worker thread
>> The  worker thread is created with the boost thread library and does
>> its job in general pretty well.
>>     
>
> I know nothing about the boost thread library. Is it based on pthreads?
> AFAIK the FLTK1 thread stuff uses pthreads so I assume FLTK2 does too.
> Could there be a mismatch between the boost implementation and pthreads?
> i.e. fltk isn't correctly signalling or synchronising with boost thread.
>
> Just an idea. Could be completely wrong. Probably is.
> D.
> _______________________________________________
> fltk mailing list
> [email protected]
> http://lists.easysw.com/mailman/listinfo/fltk
>
>   

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

Reply via email to