threading
- From: Tom Stanis <stanis cs wisc edu>
- To: gtk-list redhat com
- Subject: threading
- Date: Sat, 03 Jan 1998 17:22:16 -0600
I want to be able to use multiple threads of execution in my gtk project,
however, X is not ammused when one thread attempts to destroy and window,
and the other is processing events. I thought I might be able to get
around this problem using some sort of messaging, but the gtk thread (the one
that handels all gtk work, in order to keep it non-concurrent), is stuck
in the gtk_main(), so I can't do my own messaging, I have to use something that
gtk can provide. I looked at the gtk signals, but they seem to be created
specifically for callbacks, and it seems rather cryptic how one might use them
if you weren't writing a widget. Anyone have any ideas on how to deal with
this? Can you use gtk signals for app level purposes?
--Tom Stanis
<stanis@cs.wisc.edu>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]