Hi Dmitry,

I don't have karma for TSRM only php-src.

Scott

Dmitry Stogov wrote:
Hi Scott,

I'm fine with your patch.
Please commit it, or let me know if you like me to commit it.

Thanks. Dmitry.

Scott MacVicar wrote:
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



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to