My Multi-tasking in PHP talk at the Atlanta PHP User Group December 2012 meetup. Hope you can join us sometime!
Presentation link bundle (includes slides): http://bitly.com/atlphpm
My Multi-tasking in PHP talk at the Atlanta PHP User Group December 2012 meetup. Hope you can join us sometime!
Presentation link bundle (includes slides): http://bitly.com/atlphpm
Hi Jonathan,
Great Video! Just Something I noticed on the closure as a callback in the beginning. I Think the question asked was how is each thread getting access to the closure function from the parent, and while I cannot be 100% sure, I think the closure function is passed as a copy (so it is not the parent copy), rather than being passed by reference to the child process. (Certainly if it is POSIX-SAFE, then this should be true).
Anyway great video.
Thank you! You are close, it is not passed by reference but rather the child process is a complete copy of the parent process, including the callback.