solving blocking functions

From: Date: Wed, 28 Nov 2001 10:27:37 +0000
Subject: solving blocking functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-71895@lists.php.net to get a copy of this message
Hi, I use PHP a lot for command line applications. In one of these applications I get a hangup whenever a blocking function doesn't return. I have been looking for the usual alarm() and signal handler solution. After much digging I ran into the ext/pcntl extension which offers me the signal handling I need, but I'm stuck with setting up the SIGALRM. Is there a way to call the alarm system call? Thanks in advance Christophe VG

« previous php.dev (#71895) next »