From: "George Mardale" <gix@delsyne.ro>
To: <pthreads-win32@sources.redhat.com>
Subject: DllMain not called
Date: Mon, 10 May 2004 17:08:00 -0000 [thread overview]
Message-ID: <006701c436a6$3f0cc8d0$4f64a8c0@firebird> (raw)
Hi guys,
After successfully compiling the wince-port sources of pthreads-win32
(pthread-win32-snap-1999-05-30-WinCE) with embedded Visual C++ 3.0, I ran
into troubles when trying to use the resulting lib/dll.
Using the debugger, I managed to find out that the application crashes
(Access Violation error) in pthread_getspecific because the calling argument
_pthread_selfThreadKey is NULL. However, this global variable should have
been initialized in DllMain. But, to my surprise, DllMain is never called,
so _pthread_selfThreadKey is always NULL.
Is there a reason why DllMain is not called on wince?
Thanks for your time,
George.
reply other threads:[~2004-05-10 17:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='006701c436a6$3f0cc8d0$4f64a8c0@firebird' \
--to=gix@delsyne.ro \
--cc=pthreads-win32@sources.redhat.com \
/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).