Re: php and multithreading (additional arguments)

From: Date: Mon, 05 Apr 2010 10:17:52 +0000
Subject: Re: php and multithreading (additional arguments)
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-47787@lists.php.net to get a copy of this message
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?

« previous php.internals (#47787) next »