On 05.04.2010, at 13:46, Moriyoshi Koizumi wrote:

> I used to play with TSRM days ago and successfully implemented
> userland threading support using GNU Pth.  It's just a proof of
> concept and I did it for fun.

So these are share-nothing worker-threads, which can send results to 
"master-thread" using messages. right?
I am perfectly fine with such approach

some stylistic moments:
* I would use closures instead of callback-functions
* Is extra language construct really needed? function-call would work just fine

Is overhead of starting new thread large?


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

Reply via email to