Yorick Hardy
ea3342de42
errno should not be used as a variable name.
2003-04-13 01:04:25 +00:00
Alexandre Julliard
ff152b650f
Added hack to patch the glibc errno_location to jump to our function,
...
based on a patch by Marcus Meissner.
2003-04-03 03:50:56 +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
Alexandre Julliard
3200c02b9c
Don't bother checking for the errno function, simply define all of
...
them.
2003-04-02 23:27:46 +00:00
Alexandre Julliard
6f7a204466
Added SYSDEPS_GetUnixTid to return the Unix thread id to send to the
...
server.
2003-04-01 04:39:35 +00:00
Alexandre Julliard
b59bf98b93
Moved errno_location support to sysdeps.c.
2003-03-26 01:33:48 +00:00
Alexandre Julliard
78675ba234
Store %gs in the TEB on every call to 16-bit code, and don't restore
...
it from the TEB for signals that did not happen in 16-bit code.
2003-03-25 00:36:16 +00:00
Alexandre Julliard
a8497bd037
Make a distinction between the thread Unix pid and the process wide
...
pid for platforms that use both.
2003-03-22 21:00:09 +00:00
Alexandre Julliard
6a26e3f7ac
Split signal blocking code out of SIGNAL_Reset into SIGNAL_Block.
...
Added SIGTERM handler.
2003-03-21 23:45:26 +00:00
Alexandre Julliard
2ee8b5bb13
Replaced mkstemp by mkstemps from libiberty.
...
Removed a couple of unnecessary portability functions.
2003-03-20 21:07:49 +00:00
Alexandre Julliard
b5a495c77a
Init signals before calling CLIENT_InitThread since we can receive a
...
signal there.
2003-03-15 00:06:35 +00:00
Alexandre Julliard
551797bc57
Properly save/restore %gs register across 16-bit calls.
2003-02-27 21:11:13 +00:00
Alexandre Julliard
ce13153821
Moved LDT selector allocation routines to libwine.
...
Added support for correct locking of all LDT operations.
Added separate functions to manipulate the %fs selector, which allows
using a global GDT selector on recent Linux kernels.
2003-02-26 20:34:45 +00:00
Alexandre Julliard
d31c8eca74
Fixed sparc check.
2002-11-12 01:04:04 +00:00
Marcus Meissner
1ab0ee300b
Add case for non sparc / non i386 SYSDEPS_CallOnStack.
2002-11-11 19:54:41 +00:00
Juraj Hercek
1cae4793da
Implemented SYSDEPS_CallOnStack for sparcs.
2002-11-06 22:05:59 +00:00
Patrik Stridvall
e29345c3bb
Added a GNU C implementation of some of the DECLSPEC_ macros and used
...
them wherever possible.
2002-10-01 18:07:37 +00:00
Marcus Meissner
2456149860
Use r2 instead of r13 for TLS, since r13 is used in the ELF32 PPC
...
ABI.
2002-08-20 00:00:35 +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
c1dec29304
Authors: Josh DuBois <duboisj@codeweavers.com>, Marcus Meissner <meissner@suse.de>
...
PowerPC locked exchange functions merged from old ppc patch.
NtCurrentTeb handling for PowerPC (using gpr 13).
2002-08-06 23:51:25 +00:00
Alexandre Julliard
6044307c3a
A few fixes for mingw cross-compilation.
2002-05-17 03:31:08 +00:00
Alexandre Julliard
59008670be
Moved the selector access functions out of winnt.h into libwine.
2002-05-16 20:32:16 +00:00
Patrik Stridvall
3751ff045c
MS C related changes.
2002-05-04 18:37:08 +00:00
Patrik Stridvall
441a7dcf7e
Microsoft C related changes.
2002-04-29 18:37:36 +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
Alexandre Julliard
5016e921f5
Added support for cleaning up the TEB from inside the exiting thread.
2002-01-07 18:04:07 +00:00
François Gouget
1425941e29
Fix the #include order for config.h.
...
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
Francois Gouget
386cf6e342
When including 'wine/port.h', include it first.
...
Remove redundant 'config.h' includes.
2001-10-14 16:25:47 +00:00
Patrik Stridvall
db9230572e
Documentation fixes.
2001-07-24 00:58:52 +00:00
Alexandre Julliard
37e9503ae8
Moved server.h to include/wine.
2001-07-19 00:39:09 +00:00
Bang Jun-Young
289a252902
Use clone() if HAVE_CLONE is defined.
2001-06-15 19:43:51 +00:00
Alexandre Julliard
062f533039
Warning fix.
2001-06-11 20:13:48 +00:00
Alexandre Julliard
8859d77279
Create the server pipes on the client side and transfer them to the
...
server on thread creation.
Use a single per-process socket instead of one per thread for
transferring file handles between client and server.
2001-03-01 22:13:49 +00:00
Patrik Stridvall
d0a41774a3
Documentation ordinal fixes.
2001-02-14 23:11:17 +00:00
Alexandre Julliard
598412ed6a
Cleaned up the various errno location tests in configure.
...
Added (h_)errno_location pointers in the library that allow remapping
the calls in higher level dlls.
Moved X11DRV_CritSection out of sysdeps.c and into x11drv.dll.
2001-01-17 20:22:22 +00:00
Alexandre Julliard
8efd454067
Removed CALL_LARGE_STACK support.
2001-01-15 22:30:50 +00:00
Alexandre Julliard
f45f66beff
Commented out large stack init now that thread stacks are at least 1Mb.
2000-12-14 19:30:01 +00:00
Alexandre Julliard
6c8edaa667
Use getpagesize() instead of VIRTUAL_GetPageSize().
2000-12-13 20:22:47 +00:00
Dimitrie O. Paun
529da54394
Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ;
2000-11-27 23:54:25 +00:00
Ulrich Weigand
06bf01768d
Make a better guess to find the top of the initial stack.
...
Fixed FreeBSD compile problem (thanks to Gerald Pfeiffer).
2000-06-08 00:39:59 +00:00
Ulrich Weigand
7e85ea7c86
Moved stack switch handling (large stack) to sysdeps.c
...
Enable exception dispatch while on large stack.
2000-06-04 01:35:43 +00:00
Alexandre Julliard
227a0894d4
Removed a number of global handle allocations and critical section
...
initializations.
2000-04-08 21:06:06 +00:00
Alexandre Julliard
31741747b9
Put CLONE_FILES back in, it is still breaking too many things.
2000-03-28 18:47:24 +00:00
Alexandre Julliard
9a0e28f153
Fixed a couple of file descriptor leaks.
...
Always call USER signal proc in the right context.
Cleaned up THREAD_Create.
2000-03-25 19:14:37 +00:00
Patrik Stridvall
3b233623cc
Fixed some warnings.
2000-03-24 21:19:02 +00:00
Alexandre Julliard
12f29b5076
Have threads and processes exit more cleanly whenever possible.
2000-03-17 15:16:57 +00:00
Alexandre Julliard
916f975624
Improved the selector get/set functions.
...
Support ANSI-compatible inline asm (with the help of Patrik Stridvall).
2000-02-26 16:51:13 +00:00
Patrik Stridvall
b9010214d2
Added better missing function emulation.
1999-11-13 22:23:35 +00:00
Alexandre Julliard
3d06d20bab
Moved all signal support to a new platform-specific file.
...
Make use of the per-thread signal stack (Juergen Lock).
Fixed %fs in signal handler for non FS_sig case (Ulrich Weigand).
1999-09-27 10:58:45 +00:00
Ron Record
e977d6ca5c
Added support of __thr_errno for reentrance on UnixWare.
1999-09-05 12:32:05 +00:00