TSRM mutex return value inconsitencies

From: Date: Tue, 05 Feb 2008 13:50:45 +0000
Subject: TSRM mutex return value inconsitencies
Groups: php.internals 
Request: Send a blank email to internals+get-35185@lists.php.net to get a copy of this message
Hi, While doing some threaded work I noticed that tsrm_mutex_lock and tsrm_mutex_unlock return different values for Windows and Linux (using pthread). Attached is the patch to make everything more pthread like, it will return 0 for success and any other value is an error. Windows, GNU Portable Threads and the NSAPI implementations were returning incorrect values. Scott

« previous php.internals (#35185) next »