Re: [Iup-users] Is Iup pthread safe?

2015-10-05 Thread John Spikowski
Andy, I feel if you follow what I have done in Script BASIC for threaded IUP it should work for you without any changes to anything. John On Tue, 2015-10-06 at 15:54 +1100, Andy Xiyue wrote: > Thanks John and Ranier. > > > At least I'm confirmed now I can not update the attributions of IUP > c

Re: [Iup-users] Is Iup pthread safe?

2015-10-05 Thread Milind Gupta
What I did was to have a timer run and listen to communication from another thread. I used sockets to send and receive data. Milind On Mon, Oct 5, 2015 at 9:54 PM, Andy Xiyue wrote: > Thanks John and Ranier. > > At least I'm confirmed now I can not update the attributions of IUP > controls in

Re: [Iup-users] Is Iup pthread safe?

2015-10-05 Thread Andy Xiyue
Thanks John and Ranier. At least I'm confirmed now I can not update the attributions of IUP controls in other threads so my previous programming module was definitely wrong. So the question becomes how to send the control update event to the main thread? It's quite obvious the main thread is stu