[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] Solving the Pthreads issue
From: |
Volker Grabsch |
Subject: |
Re: [Mingw-cross-env-list] Solving the Pthreads issue |
Date: |
Tue, 11 May 2010 11:08:16 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Tony Theodore <address@hidden> schrieb:
> On 11 May 2010 14:21, Martin Lambers <address@hidden> wrote:
>
> > <http://sourceware.org/ml/pthreads-win32/2010/msg00006.html>.
> >
> > If we're lucky, this already solves the problem. Can someone test this?
> >
> > One problem might be that libraries which already call attach/detach
> > might run into problems, so we might need to be careful about the
> > PTW32_STATIC_LIB flag being defined in the header files.
>
> The patch allows the build to succeed, but the test-libgomp.exe
> returns somewhat odd results.
>
> Running in linux:
> Hello from thread 0, nthreads 2
> Hello from thread 1, nthreads 2
>
> Running with wine:
> Hello from thread 1, nthreads 2
> Hello from thread 1, nthreads 2
> Hello from thread 0, nthreads 2
>
> and sometimes
>
> Hello from thread 0, nthreads 2
> Hello from thread 0, nthreads 2
> Hello from thread 1, nthreads 2
Well, the order of thread ids is arbitrary, of course. But it seems
to be a bug that two threads are started with the same id. Could
you report that issue to the pthreads-win32 mailing list, please?
BTW, there is a nice way to point to the latest version of our
libgomp test script:
(as HTML)
http://hg.savannah.gnu.org/hgweb/mingw-cross-env/file/tip/src/libgomp-test.c
(Raw)
http://hg.savannah.gnu.org/hgweb/mingw-cross-env/raw-file/tip/src/libgomp-test.c
Of course, you can also point to a specific changeset, by replacing
"tip" with e.g. "fb43aa119f62".
Greets,
Volker
--
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR
- Re: [Mingw-cross-env-list] Support for Windows 95/98/ME? (was: Solving the Pthreads issue), (continued)
- Re: [Mingw-cross-env-list] Solving the Pthreads issue, Tony Theodore, 2010/05/08
- Re: [Mingw-cross-env-list] Solving the Pthreads issue, Volker Grabsch, 2010/05/09
- Re: [Mingw-cross-env-list] Solving the Pthreads issue, Tony Theodore, 2010/05/10
- Re: [Mingw-cross-env-list] Solving the Pthreads issue, Martin Lambers, 2010/05/10
- Re: [Mingw-cross-env-list] Solving the Pthreads issue, Volker Grabsch, 2010/05/10
- Re: [Mingw-cross-env-list] Solving the Pthreads issue, Martin Lambers, 2010/05/11
- Re: [Mingw-cross-env-list] Solving the Pthreads issue, Tony Theodore, 2010/05/11
- Re: [Mingw-cross-env-list] Solving the Pthreads issue,
Volker Grabsch <=
- Re: [Mingw-cross-env-list] Solving the Pthreads issue, Tony Theodore, 2010/05/11
- Re: [Mingw-cross-env-list] Solving the Pthreads issue, Volker Grabsch, 2010/05/11
- Re: [Mingw-cross-env-list] Solving the Pthreads issue, Martin Lambers, 2010/05/11
- Re: [Mingw-cross-env-list] Solving the Pthreads issue, Volker Grabsch, 2010/05/16
- Re: [Mingw-cross-env-list] Solving the Pthreads issue, Tony Theodore, 2010/05/16
- Re: [Mingw-cross-env-list] Solving the Pthreads issue, Volker Grabsch, 2010/05/19
- Re: [Mingw-cross-env-list] Solving the Pthreads issue, Tony Theodore, 2010/05/20
- Re: [Mingw-cross-env-list] Solving the Pthreads issue, Volker Grabsch, 2010/05/11
- Re: [Mingw-cross-env-list] Solving the Pthreads issue, Gregory Smith, 2010/05/11
- Re: [Mingw-cross-env-list] Solving the Pthreads issue, Volker Grabsch, 2010/05/11