fork only forks out problems
- From: bals ji <gtksophists yahoo com>
- To: gtk-app-devel-list gnome org
- Subject: fork only forks out problems
- Date: Thu, 27 Sep 2001 03:10:12 -0700 (PDT)
I am trying to implement a vt100 emulator using gtk ..
i have opened a top level window with a text widget in
it and after that i fork a child process with
gtk_main() in it..
in the parent when i try to insert some text into the
text widget .. i get the following error
Gdk-ERROR **: BadIDChoice (invalid resource
ID chosen for this connection)
serial 222 error_code 14 request_code 1
minor_code 0
I have even used _exit() in the child ....
the synopsis of the program is as follows..
main()
{
.... create windows and text widget .....
fork()
{
child:
fork()
{ grandchild:
exec telnet
child:
gtk_main();
}
parent:
insert into text widget
//fails//
}
__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]