RE: [PHP-GTK] GTK and pcntl
| From: | Vail, Warren | Date: | Thu, 04 Nov 2004 17:31:12 +0000 |
| Subject: | RE: [PHP-GTK] GTK and pcntl | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-5198@lists.php.net to get a copy of this message | ||
If you are on a Linux/Unix box you can consider;
http://www.php.net/manual/en/ref.pcntl.php
Look for things pertaining to signal or semaphore processing or Intra
process communications (IPC).
Also; http://us2.php.net/sem
I don't think these are available on windoze.
Good luck,
Warren Vail
-----Original Message-----
From: mike@ensor.cc [mailto:mike@ensor.cc]
Sent: Thursday, November 04, 2004 7:45 AM
To: php-gtk-general@lists.php.net
Subject: [PHP-GTK] GTK and pcntl
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
--
PHP-GTK General Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php