Hello, I was wondering if anyone has successfully implemented timeouts on mysql queries using the C API in Linux... my initial thought was to use a SIGALRM to interrupt the query. When trying this, however, it appears that the read() call made within the query is restarted after the signal handler completes. (I do not have the SA_RESTART flag set on the sigaction() call prior to the query, so I would expect read() to return EINTR, and the query to fail). Anyone have any suggestions? Thanks in advance! --Phil White --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php