Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 48139 invoked from network); 21 Jan 2008 14:59:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jan 2008 14:59:15 -0000 Received: (qmail 58487 invoked by uid 500); 21 Jan 2008 14:58:55 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 58020 invoked by uid 500); 21 Jan 2008 14:58:54 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 58008 invoked by uid 99); 21 Jan 2008 14:58:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jan 2008 06:58:54 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [76.96.62.48] (HELO QMTA05.westchester.pa.mail.comcast.net) (76.96.62.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jan 2008 14:58:38 +0000 Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA05.westchester.pa.mail.comcast.net with comcast id fq7R1Y0060EZKEL0504f00; Mon, 21 Jan 2008 14:58:30 +0000 Received: from [192.168.1.125] ([68.50.0.179]) by OMTA01.westchester.pa.mail.comcast.net with comcast id fqyV1Y0033rjQ2C3M00000; Mon, 21 Jan 2008 14:58:29 +0000 X-Authority-Analysis: v=1.0 c=1 a=jI6lCMx27tcA:10 a=xe8BsctaAAAA:8 a=6tWlH9JU0zWl5qVQVe0A:9 a=A6tvTl5JRL-kY3SyUJ8iNbNk9_gA:4 a=rPt6xJ-oxjAA:10 Message-ID: <4794B317.5070303@christopherschultz.net> Date: Mon, 21 Jan 2008 09:58:31 -0500 From: Christopher Schultz User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Impossible to use multi threading with Tomcat by using a DLL ? References: <15781b550801180419g5ea40862w8d2bb95825c5e2f7@mail.gmail.com> <4790A2BB.9080607@oma.be> <15781b550801180638n1d258de2ocb89a7cd40af5810@mail.gmail.com> <4790DFC0.5050702@oma.be> <4791C555.7090705@gmail.com> <47921863.60705@oma.be> <47922326.4030701@gmail.com> In-Reply-To: <47922326.4030701@gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Claire, Claire Dugenet wrote: | The first DLL, created with JNI, works well. Because : there are several | fonctions in the second DLL (this one in language C). I would imagine that they are both written in C, yes? | The first function | (which doesn't use threads) works well but when we call the second | function (which uses multi thread), it doesn't work : the function is | "block" where there is the call of the thread. When you say "blocked", what do you mean? Is the code waiting on a mutex or something? Are you using the standard win32 threading functions? Does your code produce any debugging output? What are you able to observe besides "it doesn't work"? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkeUsxcACgkQ9CaO5/Lv0PBXfQCgpf+I50StRtqCpwQkleDmCQ29 bPEAn21uLLYlJ6qHqDcNWWl7Eu025H7Q =MhJD -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org