Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44967 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42697 invoked from network); 14 Jul 2009 22:08:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jul 2009 22:08:00 -0000 Authentication-Results: pb1.pair.com header.from=andrei@gravitonic.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=andrei@gravitonic.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain gravitonic.com from 209.85.217.214 cause and error) X-PHP-List-Original-Sender: andrei@gravitonic.com X-Host-Fingerprint: 209.85.217.214 mail-gx0-f214.google.com Received: from [209.85.217.214] ([209.85.217.214:36107] helo=mail-gx0-f214.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F7/81-54820-FB10D5A4 for ; Tue, 14 Jul 2009 18:08:00 -0400 Received: by gxk10 with SMTP id 10so5598476gxk.23 for ; Tue, 14 Jul 2009 15:07:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.90.55.20 with SMTP id d20mr3605081aga.89.1247609277211; Tue, 14 Jul 2009 15:07:57 -0700 (PDT) In-Reply-To: <200907141928.20591.thomas@koch.ro> References: <200907141928.20591.thomas@koch.ro> Date: Tue, 14 Jul 2009 15:07:57 -0700 Message-ID: <7d6e34d80907141507o4d189351jb967a9a8f270fe82@mail.gmail.com> To: Thomas Koch Cc: gearman , internals@lists.php.net Content-Type: multipart/alternative; boundary=001636283826c9663a046eb1ab16 Subject: Re: [PHP-DEV] Multithreaded C Gearman worker to run PHP scripts From: andrei@gravitonic.com (Andrei Zmievski) --001636283826c9663a046eb1ab16 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Can you explain how this is different from the worker class provided by pecl/gearman? -Andrei On Tue, Jul 14, 2009 at 10:28 AM, Thomas Koch wrote: > Good evening Europe, good morning America, > > I hacked a gearman worker today that runs PHP scripts. As you can easily > spot > on first sight, I don't have many clues on C, threads and PHP internals. > But > it seems to kind of work. :-) > > So I'm happy for anybody interested to look over my work and help me to > become > better: > http://github.com/thkoch2001/gearman-php-worker/tree/master > > More to come tomorrow... > > Thomas Koch, http://www.koch.ro > YMC AG, http://www.ymc.ch > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --001636283826c9663a046eb1ab16--