[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Multiprocessing
From: |
Nardy Pillards |
Subject: |
Re: [Bug-gnubg] Multiprocessing |
Date: |
Tue, 8 Jul 2003 15:21:04 +0200 |
> >>Olivier Baur wrote:
> >>
> >>
> >>
> >>> I think I've heard of a pthread implementation for Windows. A
> >>> short search brought this:
> >>> _http://sources.redhat.com/pthreads-win32/_
> >>> Could this work?
> >>>
> >>>
> >>>
> >>Yes, this one works! But the problem is then sockets. Is it possible to
> >>make a multithread version without sockets?
> >>
> >>-Øystein
> >>
> >>
> >
> >libwsock32.a, libmswsock.a and mswsock.h are within MinGW.
> >http://tangentsoft.net/wskfaq/examples/basics/index.html (example
makefile)
> >
> >so are winsock.h and winsock2.h
> >
> >
> Yes, I know. I've done applications with winsock earlier with the mingw
> compiler.
>
> -Øystein
Compiling branch-multi, changes made:
makefile, added:
procunits, threadglobals
configure, added:
#define HAVE_LIBPTHREAD 1
#define HAVE_SOCKETS 1
#define HAVE_SYS_SOCKET_H 1
#define PROCESSING_UNITS 1
.c sources, .h headers:
inserted #if WIN32 with <winsocket.h> in stead of the 'BSD-like' socket.h
lines
Compiling dice.c, error:
In file included from dice.c:80:
gtkgame.h:80: parse error before numeric constant
gtkgame.h:80: conflicting types for `CreateDialogParamA'
C:/MINGW/include/winuser.h:2756: previous declaration of
`CreateDialogParamA'
C:\MINGW\BIN\MINGW3~4.EXE: *** [dice.o] Error 1
possible reason:
windows.h calls winuser.h
winuser.h uses same CreateDialog definition as GTK does???
Nardy
- [Bug-gnubg] Multiprocessing, Olivier Baur, 2003/07/07
- Re: [Bug-gnubg] Multiprocessing, Joern Thyssen, 2003/07/07
- Re: [Bug-gnubg] Multiprocessing, Nardy Pillards, 2003/07/07
- Re: [Bug-gnubg] Multiprocessing, Olivier Baur, 2003/07/07
- Re: [Bug-gnubg] Multiprocessing, Øystein Johansen, 2003/07/08
- SV: [Bug-gnubg] Multiprocessing, Henrik Ravn, 2003/07/08
- Re: [Bug-gnubg] Multiprocessing, Joern Thyssen, 2003/07/08
- Re: [Bug-gnubg] Multiprocessing, Nardy Pillards, 2003/07/08
- Re: [Bug-gnubg] Multiprocessing, Nardy Pillards, 2003/07/08
- Re: [Bug-gnubg] Multiprocessing,
Nardy Pillards <=
- Re: [Bug-gnubg] Multiprocessing, Olivier Baur, 2003/07/08
- Re: [Bug-gnubg] Multiprocessing, Joern Thyssen, 2003/07/08
- Re: [Bug-gnubg] Multiprocessing, Nardy Pillards, 2003/07/08
- Re: [Bug-gnubg] Multiprocessing, Nardy Pillards, 2003/07/08
- [Bug-gnubg] Multiprocessing quickstart webpage and Mac OS X binary, Olivier Baur, 2003/07/08
- Re: Bug-gnubg] Winsock (Was: [Bug-gnubg] Multiprocessing), Olivier Baur, 2003/07/09
- Re: Bug-gnubg] Winsock (Was: [Bug-gnubg] Multiprocessing), Nardy Pillards, 2003/07/09
- Re: Bug-gnubg] Winsock (Was: [Bug-gnubg] Multiprocessing), Holger, 2003/07/10
- Re: Bug-gnubg] Winsock (Was: [Bug-gnubg] Multiprocessing), Nardy Pillards, 2003/07/10
- Re: Bug-gnubg] Winsock (Was: [Bug-gnubg] Multiprocessing), Holger, 2003/07/10