public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
* followup: Does libpthread32 work on multiprocessor machines
@ 2000-08-20 19:36 Hugues Talbot
  0 siblings, 0 replies; only message in thread
From: Hugues Talbot @ 2000-08-20 19:36 UTC (permalink / raw)
  To: pthreads-win32

	Hello all,

I'm referring to the email I sent to this list a few days ago
about an application compiled with libpthread (latest snapshot)
using gcc (2.95.2) that works on single-processors machines but
not on a dual-processor ones.  The really
troublesome bit is that it's very hard to debug, because gdb also
crashes and burns in this situation (I've tried the mingw32 version
and the cygwin one (latest) to no avail).

	After much effort I managed to compile my application 
with MS Visual C++ over the week-end, hoping to get more insight 
on the failure. I linked with pthreadVCE.lib and in fact, it seems
to work just fine! So the problem seems to be with gcc. 

	So, a note to the users of this library: if you plan to
use this library on SMP machines, it's safer to user MSVC++,
unfortunately.

	Cheers.


--------
Hugues Talbot, CSIRO Mathematical & Information Sciences
Locked Bag 17, Building E6B, Macquarie University  North Ryde  
NSW  2113  Australia           Ph: 61 2 9325 3208 Fax: 61 2 9325 3200

A picture is worth a thousand words but takes up more bandwidth.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-08-20 19:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-20 19:36 followup: Does libpthread32 work on multiprocessor machines Hugues Talbot

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).