cvs: TSRM(PHP_5_0) / TSRM.c

From: Date: Sun, 20 Mar 2005 09:03:08 +0000
Subject: cvs: TSRM(PHP_5_0) / TSRM.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3516@lists.php.net to get a copy of this message
zeev Sun Mar 20 04:03:08 2005 EDT Modified files: (Branch: PHP_5_0) /TSRM TSRM.c Log: Fix the lock (the other patch would probably also work, but it's more error prone and it's better to be on the safe side) http://cvs.php.net/diff.php/TSRM/TSRM.c?r1=1.61.2.1&r2=1.61.2.2&ty=u Index: TSRM/TSRM.c diff -u TSRM/TSRM.c:1.61.2.1 TSRM/TSRM.c:1.61.2.2 --- TSRM/TSRM.c:1.61.2.1 Fri Mar 11 06:13:03 2005 +++ TSRM/TSRM.c Sun Mar 20 04:03:07 2005 @@ -296,11 +296,11 @@ } } - tsrm_mutex_unlock(tsmm_mutex); - if (tsrm_new_thread_end_handler) { tsrm_new_thread_end_handler(thread_id, &((*thread_resources_ptr)->storage)); } + + tsrm_mutex_unlock(tsmm_mutex); }

« previous php.zend-engine.cvs (#3516) next »