Re: php and multithreading (additional arguments)

From: Date: Fri, 02 Apr 2010 07:34:46 +0000
Subject: Re: php and multithreading (additional arguments)
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-47735@lists.php.net to get a copy of this message
On Fri, Apr 2, 2010 at 9:06 AM, Jille Timmermans <jille@quis.cx> wrote: > Op 2-4-2010 7:16, Andi Gutmans schreef > > I think that if we were ever to implement threading we would be best off >> to enable spawning worker threads that have their own context with no >> shared data (and therefore no requirement for locking). We could then >> have a message passing API between the threads. >> Advantages: >> - Real multi-threading. >> - Simple straightforward approach which doesn't require a comp. sci. >> degree to use correctly. >> - Very stable implementation. >> >> > That sounds like "I want threading; because it sounds cool!". Threading is cool. :) It has more value for me, that traits/grafts but I won't deny, that others may find it usefull, why are you? > What are the advantages of this above multi-process? > The systemcall-overhead for message passing? > I mentioned a few advantage in one of my previous post, Tyrael

« previous php.internals (#47735) next »