Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72832 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97190 invoked from network); 26 Feb 2014 17:35:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Feb 2014 17:35:12 -0000 Authentication-Results: pb1.pair.com header.from=oneil@saxonica.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=oneil@saxonica.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain saxonica.com from 217.69.47.236 cause and error) X-PHP-List-Original-Sender: oneil@saxonica.com X-Host-Fingerprint: 217.69.47.236 uk1rly2283.eechost.net Linux 2.6 Received: from [217.69.47.236] ([217.69.47.236:52798] helo=uk1rly2283.eechost.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/33-12475-FC52E035 for ; Wed, 26 Feb 2014 12:35:12 -0500 Received: from [82.152.109.199] (helo=[192.168.0.106]) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1WIiOH-0004Qd-Ls; Wed, 26 Feb 2014 17:35:29 +0000 Message-ID: <530E25C7.7060903@saxonica.com> Date: Wed, 26 Feb 2014 17:35:03 +0000 Organization: Saxonica User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: =?UTF-8?B?Sm9oYW5uZXMgU2NobMO8dGVy?= CC: internals@lists.php.net References: <530E0F02.2060707@saxonica.com> <1393433357.29544.3.camel@guybrush> <530E234E.3010709@saxonica.com> In-Reply-To: <530E234E.3010709@saxonica.com> Content-Type: multipart/alternative; boundary="------------010906020409090203020009" X-Auth-Info: oneil@saxonica.com (plain) Subject: Re: [PHP-DEV] Thread safety issue in C++ extension module From: oneil@saxonica.com (O'Neil Delpratt) --------------010906020409090203020009 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Johannes, On 26/02/14 17:24, O'Neil Delpratt wrote: > Thanks for your quick response. Please find code below: > I have commented out my attempt to do some thread safety. > I have cut out some PHP_METHODS to ease the readability. If you need to build the php extension yourself and require the full project C/C++ code, including JET JVM library then please let me know and I will send you it directly. Thanks and kind regards, -- O'Neil Delpratt Software Developer, Saxonica Limited Email: oneil@saxonica.com Tel: +44 118 946 5894 Web: http://www.saxonica.com Saxonica Community Site: http://dev.saxonica.com Saxonica Bug tracking System: https://saxonica.plan.io/ --------------010906020409090203020009--