Hello, I need to know this , i must push some data into a GasynQueue and i have pushed data into it using g_async_queue_push(gasyncqueue,(void*)data) from a different thread and this queue must be checked for any data and this i have done in the main thread using g_async_queue_try_pop(gasyncqueue) and this i have called within gtk_init() and gtk_main() but i also found out that the gtk main loop must be run after pushing the data but i had no success with g_main_loop_run or g_main_context_wakeup or g_main_run . To be more clear i just want to post a data to this gtk thread from a different thread and this call must just push data into the queue and must not wait for the main thread to process the data it must return similar to what we have as a PostMessage() api in windows. Iam really sorry for the big mail , but i have been breaking my head on this for 3 days and iam badly in need of a solution Regards, S.Suresh Stephen
--------------------------------- Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list