GTK and pcntl
| From: | (PHPDiscuss - PHP Newsgroups and mailing lists) | Date: | Thu, 04 Nov 2004 15:45:20 +0000 |
| Subject: | GTK and pcntl | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-5197@lists.php.net to get a copy of this message | ||
I have a serial scanner I'm reading from, it reads fine, but it does not
have a timeout. I also have a GUI using GTK. I would like to have a
thread that sits on the scanner, once it has scanned something, it signals
the main thread and updates a GtkEntry field with the new value (or
changes a box's background color).
I have tried msg sending, signaling, directly updating the GtkEntry ( in
the child process $entry->set_text(<scanned text>);)
None of my ideas are working and the threads do not seem to be working
like c threads.
Can anyone help me please, I've been on this for 2 days now and have
searched all over the web and nothing has turned up.
Thank you in advance.
Mike
mike@ensor.cc