delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Subject: | RE: pthreads on cygwin |
MIME-Version: | 1.0 |
Date: | Tue, 4 Sep 2001 14:36:13 +0200 |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.4417.0 |
Message-ID: | <19514C7E64E4FA4FBEEC9BA3CB3376FD17B6B9@gopinocchio-sbs.gopinocchio.local> |
content-class: | urn:content-classes:message |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
Thread-Topic: | pthreads on cygwin |
Thread-Index: | AcE1PYqbsXIoIRS0R4i2UHOYXqPb0gAAF4hQ |
From: | "Jacob Vennervald Madsen" <jvm AT gopinocchio DOT com> |
To: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
Cc: | <cygwin AT cygwin DOT com> |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id IAA30055 |
I just want to add that the same code works on Linux. Jacob -----Original Message----- From: Robert Collins [mailto:robert DOT collins AT itdomain DOT com DOT au] Sent: 4. september 2001 14:33 To: Jacob Vennervald Madsen Cc: cygwin AT cygwin DOT com Subject: Re: pthreads on cygwin On Tue, 2001-09-04 at 19:59, Jacob Vennervald Madsen wrote: > Hi List > > I'm trying to compile and run the Open Source Kannel gateway on cygwin. > It compiles ok but gives me problems when I try to run it. > > This is the error I get: > 2001-09-04 09:13:43 [1] PANIC: gwlib/gwthread-pthread.c:151: > getthreadinfo: Assertion `pthread_equal(threadinfo->self, > pthread_self())' failed. > > And this is line 151 of the file gwlib/gwthread-pthread.c that gives the > problems: > gw_assert(pthread_equal(threadinfo->self, pthread_self())); > > Any ideas how to make this work on cygwin? > If I comment this line out I can start the gateway but it freezes after > sending one SMS through the gateway. Sounds to me like for some reason the threadinfo->self struct isn't the variable used to create the thread. Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |