Commit Graph

529 Commits (772539a84a0d68c953319076d3aae0a8ba342018)

Author SHA1 Message Date
Alexandre Julliard fedc411743 Moved the functionality of starting Win16 and DOS programs from the
common process startup into a separate winevdm application.
2003-04-27 00:47:58 +00:00
Alexandre Julliard 22ae4ff608 Set SA_NOCLDWAIT in the SIGCHLD sigaction to avoid zombies. 2003-04-20 02:48:06 +00:00
Alexandre Julliard a058584d4c Explicitly call VERSION_Init with the main exe file name, so that
application settings work for Win16 and DOS apps too.
2003-04-20 02:46:44 +00:00
Yorick Hardy ea3342de42 errno should not be used as a variable name. 2003-04-13 01:04:25 +00:00
Alexandre Julliard 088bcf9ca5 Implemented NtQueueApcThread, and changed the server APC interface to
always take 3 parameters.
Implemented a number of other ntdll thread functions, and use them
from the kernel ones.
2003-04-04 22:26:34 +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 462172a3d6 Added abs_time_t structure to the server protocol, and added a dump
routine for it that displays the relative timeout to make timeout
values easier to interpret.
2003-04-02 22:48:59 +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 fbef57c0ce Moved WaitForMultipleObjects to ntdll (based on a patch by Eric
Pouech).
Added NTDLL_get_server_timeout function to compute ntdll-style
timeouts and adapted the timer code to use it.
2003-03-31 01:37:04 +00:00
Alexandre Julliard 91deba1d5e Clear the entire request, not just the end, in case it contains
padding bytes.
2003-03-30 03:08:52 +00:00
Alexandre Julliard 5537dbbf40 Replaced WINE_CHECK_STRUCT_MEMBER autoconf macro by the standard
AC_CHECK_MEMBERS. Added check for si_fd in siginfo_t.
2003-03-28 00:36:12 +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
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
Eric Pouech f94c8b85b9 Move some fields (refCount, tls_index and module) from WINE_MODREF to
LDR_MODULE.
2003-03-20 22:05: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 d04ccb8ebe Use SIGUSR1 instead of SIGSTOP to suspend threads. 2003-03-04 22:18:43 +00:00
Eric Pouech 7d6096480a - added Ldr* information to include/winternl.h
- exported a few functions/global vars from module.h while we move
  code from loader/module.c to dlls/ntdll/loader.c
- implemented LdrShutdownProcess, LdrShutdownThread and
  LdrDisableThreadCalloutsForDll (and made use of them)
2003-03-04 04:36:56 +00:00
Alexandre Julliard 551797bc57 Properly save/restore %gs register across 16-bit calls. 2003-02-27 21:11:13 +00:00
Alexandre Julliard e5cef3b0fb Moved CreateThread16 to kernel, and made it use WOWCallback16. 2003-02-27 01:57:16 +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
Eric Pouech 12b7c26e0d Only print 4 hexdigits for tid. 2003-02-26 04:36:54 +00:00
Alexandre Julliard 77c8b1dc2b Pass the pid of the new process in the new_process request, don't
depend on the parent pid to find the startup info.
2003-02-24 20:51:50 +00:00
Warren Baird 001fa26255 Increase size of insufficiently big stack allocated buffer used for
error messages in PROCESS_InitWine.
2003-02-19 03:42:38 +00:00
Alexandre Julliard ac13d2f47e Print thread ids in traces with only 4 digits now that they are small
integers.
2003-02-18 23:29:47 +00:00
Gerald Pfeifer e63f4abffb Add missing casts related to pthread_t. Tweak comments. 2003-01-30 00:17:30 +00:00
Marcus Meissner f63e5b646a Remove errno.h from files that do not need it. 2003-01-23 22:51:04 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Alexandre Julliard 9e8e5ff71d Implemented the Fiber* functions (with the help of Huw Davies). 2002-12-17 21:06:25 +00:00
Patrik Stridvall 75dee506ae Replace 0x%p with %p. 2002-12-05 19:56:15 +00:00
Uwe Bonnes dab0cf3135 Use COMSPEC command interpreter to run .bat files. 2002-12-03 23:28:15 +00:00
Alexandre Julliard 5926cea79f Partially implemented kernel/user times in GetThreadTimes (based on a
patch by Ryan Cumming).
2002-11-30 01:56:56 +00:00
Patrik Stridvall 6caeb721e3 Fixed pthreads on FreeBSD (based on patch by Alexandre Julliard). 2002-11-25 21:12:26 +00:00
Steve Lustbader a2e1222486 Stubs for CreateTimerQueue and DeleteTimerQueueEx. 2002-11-25 20:51:31 +00:00
Ryan Cumming 24f4eced42 Partially implement GetThreadTimes. 2002-11-25 01:33:38 +00:00
Andrew John Hughes ed800c69c8 Build ntdll with -DSTRICT. 2002-11-21 03:45:01 +00:00
Marcus Meissner c19fef417b Fixed strict aliasing issue in __pthread_once and SetWaitableTimer. 2002-11-18 23:11:37 +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
Steven Edwards 45e56818f7 Mingw porting fix. 2002-10-31 03:41:56 +00:00
Alexandre Julliard 26fd740d9c Avoid reference to glibc internal __libc_fork function. 2002-10-22 00:44:24 +00:00
Alexandre Julliard 7aee90762a Merged wine_call_to_16_long and wine_call_to_16_short into a single
function.
2002-10-18 00:29:32 +00:00
Alexandre Julliard 43701b945d Build a default command-line if the one we received is an empty
string.
2002-10-17 18:24:36 +00:00
Alexandre Julliard 996baf6379 Transmit the Windows PATH to child processes using the WINEPATH
variable.
2002-10-09 18:35:01 +00:00