newby stupid syncronization question...



hello

I'm writing a gui that must wait for async messages in a blocking function.
So i've created a second thread. When i get a message in the second thread, i 
would like to notify the first thread thats sleeps in gtk-main and pass it the 
message, in order to avoid having two threads using gtk.
What is the best way of doing that ?

thanx for any help.

Antoine DROUIN



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]