public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Jacob Vennervald Madsen" <jvm@gopinocchio.com>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: <cygwin@cygwin.com>
Subject: RE: pthreads on cygwin
Date: Tue, 04 Sep 2001 05:37:00 -0000	[thread overview]
Message-ID: <19514C7E64E4FA4FBEEC9BA3CB3376FD17B6B9@gopinocchio-sbs.gopinocchio.local> (raw)

I just want to add that the same code works on Linux.

Jacob

-----Original Message-----
From: Robert Collins [ mailto:robert.collins@itdomain.com.au ]
Sent: 4. september 2001 14:33
To: Jacob Vennervald Madsen
Cc: cygwin@cygwin.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/

             reply	other threads:[~2001-09-04  5:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-04  5:37 Jacob Vennervald Madsen [this message]
2001-09-04  5:40 ` Robert Collins
  -- strict thread matches above, loose matches on Subject: below --
2001-09-04  5:42 Jacob Vennervald Madsen
2001-09-04  5:48 ` Robert Collins
2001-09-04  3:00 Jacob Vennervald Madsen
2001-09-04  5:32 ` Robert Collins
2001-01-23 13:44 pthreads on Cygwin Dave Brolley
2001-01-23 14:06 ` Christopher Faylor
2001-01-22 15:10 Dave Brolley
2001-01-22 19:01 ` Christopher Faylor
2001-01-14 17:04 Pthreads " Georg Waldschmidt
2001-01-15  7:18 ` Larry Hall (RFK Partners, Inc)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19514C7E64E4FA4FBEEC9BA3CB3376FD17B6B9@gopinocchio-sbs.gopinocchio.local \
    --to=jvm@gopinocchio.com \
    --cc=cygwin@cygwin.com \
    --cc=robert.collins@itdomain.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).