Alexandre Julliard
80e34dbb66
Moved the implementation of the pthread wrappers to dlls/kernel.
2003-09-03 00:26:08 +00:00
Alexandre Julliard
54acf626c5
Added missing functions for platforms that don't build the pthreads
...
emulation (reported by Todd Vierling).
2003-08-28 03:05:18 +00:00
Alexandre Julliard
03d7998970
Moved __errno_location() handling to pthread.c, and added similar
...
handling for __res_state().
2003-08-15 03:55:06 +00:00
Alexandre Julliard
19b6a49845
Allocate DebugInfo field for all critical sections (based on a patch
...
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Alexandre Julliard
97d862c93c
Fixed the pthread wrappers to work with the new glibc/linuxthreads
...
interface in glibc 2.3.2.
2003-08-12 18:59:13 +00:00
Eric Pouech
c962a6997c
- in kernel32, replaced all {Enter|Leave}CriticalSection calls with
...
ntdll counterparts
- {Enter|Leave}CriticalSection is now a pure forward from kernel32 to
ntdll (we now longer can use {Enter|Leave}CriticalSection in kernel32)
- replaced a few kernel32 heap management calls from ntdll, with
RtlHeap* equivalents
2003-06-23 18:12:28 +00:00
Alexandre Julliard
6a9cea957a
Added --with-nptl configure option and necessary changes to support
...
running on top of NPTL threads.
2003-04-03 02:54:54 +00:00
Gerald Pfeifer
69497b3c97
Forward-declare struct _pthread_cleanup_buffer, as it is
...
Linux-specific and not available in the headers of other systems.
2003-03-21 00:33:33 +00:00
Gerald Pfeifer
e63f4abffb
Add missing casts related to pthread_t. Tweak comments.
2003-01-30 00:17:30 +00:00
Patrik Stridvall
6caeb721e3
Fixed pthreads on FreeBSD (based on patch by Alexandre Julliard).
2002-11-25 21:12:26 +00:00
Marcus Meissner
c19fef417b
Fixed strict aliasing issue in __pthread_once and SetWaitableTimer.
2002-11-18 23:11:37 +00:00
Alexandre Julliard
26fd740d9c
Avoid reference to glibc internal __libc_fork function.
2002-10-22 00:44:24 +00:00
Patrik Stridvall
9c1de6de30
Moved all the content of the DDK files ntdef.h and ntddk.h to
...
winternl.h.
2002-09-12 22:07:02 +00:00
Patrik Stridvall
d016f819f1
Added include protection for unistd.h and sys/time.h.
2002-08-17 00:43:16 +00:00
Alexandre Julliard
65c6d38581
Replace all uses of PREFIX and @function by the __ASM_NAME and
...
__ASM_FUNC macros.
2002-07-22 20:47:11 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Alexandre Julliard
5769d1de00
Better support for configure detection of missing types, added check
...
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Chris Morgan
417296c4af
Implement OpenThread() winapi call.
...
Implement a few pthreads functions.
2002-04-02 00:49:05 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Jukka Heinonen
31b8b64682
Implemented pthread_rwlock stubs.
2001-12-11 00:20:18 +00:00
Andreas Mohr
9cef2d0b1d
- fix wrong hexadecimal GetLastError() output
...
- misc fixes
- changed my email address
2001-11-19 02:30:01 +00:00
Alexandre Julliard
de70b83eda
Silence the pthread_kill_other_threads_np FIXME.
2001-10-09 21:59:16 +00:00
Bill Medland
7a60dd0d5b
Prevent calling null functions.
2001-09-26 23:04:40 +00:00
Alexandre Julliard
301df6b5cd
Added names to standard critical sections (suggested by Andreas
...
Mohr).
2001-08-16 18:12:56 +00:00
Alexandre Julliard
e994d5036e
Added Interlocked*Pointer functions.
...
Fixed InterlockedCompareExchange prototype.
2001-08-09 21:21:13 +00:00
Jeff Garzik
f46eb1db43
Added some inclusions of string.h where necessary.
2001-03-21 20:30:46 +00:00
Alexandre Julliard
505cf3965c
Moved PTHREAD_init_done out of the #ifdef.
2001-02-27 01:54:20 +00:00
Alexandre Julliard
7f187e5043
Only create the system heap when we actually need it.
2001-02-23 01:37:05 +00:00
Ove Kaaven
ccc538beac
Unix98 pthread_rwlock* stubs for glibc2.2 compatibility.
2000-11-13 04:14:49 +00:00
Alexandre Julliard
8d1462b614
pthread_atfork: don't call critical section functions before
...
initialization is done.
2000-11-07 20:32:52 +00:00
Ove Kaaven
d2937316a5
Fixed jump_alias for non-PIC, and disabled it for PIC, since it
...
doesn't work for PIC right now. This fixes current crashing sigaction
calls.
2000-05-09 22:32:25 +00:00
Alexandre Julliard
95a4332f32
Added atfork support.
2000-05-01 16:19:40 +00:00
Eric Pouech
f61d7e0a24
Enhanced libc's pthread configuration detection.
2000-04-29 16:44:19 +00:00
Ove Kaaven
47d72ff801
Made pthread_kill_other_threads_np and pthread_atfork fixmes less
...
obtrusive.
2000-04-29 14:15:31 +00:00
Ove Kaaven
1f9b4b0a8f
Removed init_sect. Use Interlocked* functions instead.
2000-04-28 20:00:20 +00:00
Ove Kaaven
1abdb6f74d
Override fork().
2000-04-28 14:44:05 +00:00
Ove Kaaven
166209a725
Added some more pthread overrides.
2000-04-23 20:01:45 +00:00
Ove Kaaven
f19f07d5f3
POSIX threads emulation, tricks glibc into being threadsafe.
2000-04-14 14:47:02 +00:00