Commit Graph

171 Commits

Author SHA1 Message Date
Jacek Caban 19e16319b8 ntdll: Initialize PEB SessionId to 1.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 21:32:40 +09:00
Michael Müller 55ae09068b ntdll: Implement ThreadGroupInformation class.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-02 18:11:31 +09:00
Sebastian Lackner 6d9cf49103 ntdll: Ignore higher bits in selector for ThreadDescriptorTableEntry info query.
Fixes a random test failure in kernel32/thread tests caused by the
uninitialized HIWORD.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-09-25 21:03:17 +02:00
Sebastian Lackner 845164004b ntdll: Implement ThreadQuerySetWin32StartAddress info class in NtQueryInformationThread. 2015-07-29 21:44:03 +02:00
Sebastian Lackner 6ab494ceb5 ntdll: Implement ThreadQuerySetWin32StartAddress info class in NtSetInformationThread. 2015-07-29 21:44:03 +02:00
Sebastian Lackner 6156cf3134 server: Use a separate wineserver call to fetch thread times. 2015-07-29 21:44:03 +02:00
Charles Davis 97bda9a05f ntdll: Support 64-bit Mac OS. 2015-02-06 22:35:17 +09:00
Hans Leidekker faf70e2fbd ntdll: Fix calculation of process and thread affinity masks on systems with a large number of processors. 2015-01-21 15:31:16 +01:00
Sebastian Lackner 2fcecdb72e ntdll: Avoid leaking activation context in RtlCreateUserThread. (Valgrind). 2014-06-23 10:18:23 +02:00
Sebastian Lackner cfd09b0967 ntdll: Fix leaking activation context when terminating via exit_thread(). (Valgrind). 2014-06-23 10:17:26 +02:00
Alexandre Julliard 598c5816d9 kernel32: Don't allocate FLS index 0. 2014-03-28 17:46:03 +01:00
Jacek Caban 93920c3893 ntdll: Reserve TLS slot 0 for broken apps that compare index to 0 instead of TLS_OUT_OF_INDEXES. 2014-03-28 16:19:55 +01:00
Alexandre Julliard e54503f708 ntdll: Allocate TLS data in all running threads on module load. 2013-12-23 18:39:58 +01:00
Ken Thomases 22cf68e1bc ntdll: On Mac, store the dyld image info address in the PEB. 2013-12-05 12:40:56 +01:00
Nikolay Sivov 93c59714c0 ntdll: Inherit default activation context from creation thread. 2013-09-05 13:23:50 +02:00
Alexandre Julliard fcb3e60332 ntdll: Implement the RunOnce functions. 2013-08-28 22:27:31 +02:00
Alexandre Julliard 5c0b5f4dcb ntdll: Move the select and APC support to server.c. 2013-08-26 20:36:56 +02:00
Dmitry Timoshkov 94336f1aab ntdll: Thread creation control is now taken care by server. 2013-05-17 12:29:43 +02:00
Dmitry Timoshkov 59a23fb42f ntdll: Refuse to create new thread if the target process is being terminated. 2013-04-22 12:37:51 +02:00
André Hentschel 579f4f9da0 ntdll: Exit when we can't map the shared user data. 2012-11-28 20:14:51 +01:00
Daniel Jelinski 6ec731b65c ntdll: Add missing parameters to syscall call. 2012-05-30 11:21:45 +02:00
Detlef Riekenberg 979099a441 ntdll: Read the current processor with the __NR_getcpu syscall. 2012-05-21 11:33:55 +02:00
Detlef Riekenberg 1f80bacc65 ntdll: Use ThreadAffinityMask for NtGetCurrentProcessorNumber. 2012-05-21 10:27:40 +02:00
Detlef Riekenberg 02b74d3fd3 ntdll: Implement NtGetCurrentProcessorNumber. 2012-05-21 10:20:25 +02:00
Bernhard Loos b8629f55f1 ntdll: Initialize the Length field of PEB->LdrData. 2011-08-22 19:49:39 +02:00
Alexandre Julliard e1eb6228f4 ntdll: Ask the server to suspend the thread in the get/set_thread_context requests. 2011-05-06 12:49:42 +02:00
Alexandre Julliard 177a7e5683 Revert "ntdll: Fix possible deadlock in vectored exception handling."
This reverts commit eb0e82a755.
It's causing different deadlocks, notably when a thread tries to
remove a handler inside a handler.
2010-11-10 19:17:41 +01:00
Alexandre Julliard adb0703cff ntdll: Don't try to join with the main thread. 2010-11-01 11:28:38 +01:00
Krzysztof Nowicki eb0e82a755 ntdll: Fix possible deadlock in vectored exception handling. 2010-10-12 12:30:48 +02:00
Eric Pouech 45ade6c2f5 ntdll: Allocate a console (without renderer) when starting a program from unix console. 2010-09-01 14:01:03 +02:00
Alexandre Julliard 5189eef6bb ntdll: Fix affinity mask check for 64-bit. 2010-04-08 23:57:08 +02:00
Erich Hoover fda39b207c ntdll: Allow 'all processors' flag used in Vista and newer. 2010-02-22 11:57:08 +01:00
Alexandre Julliard e7810c8bc6 ntdll: Make it possible to use RtlGetNtGlobalFlags before the TEB is initialized. 2010-01-22 12:32:40 +01:00
Alexandre Julliard 39a1227cdb ntdll: Load the various PEB global options at startup. 2010-01-20 17:30:00 +01:00
Alexandre Julliard 82f393dda1 ntdll: Move the LDT locking functions to the i386-specific code. 2009-12-30 18:05:02 +01:00
Dan Kegel 0f556bf803 ntdll: Implement RtlGetNtGlobalFlags(), add related defines to winternl.h. 2009-11-30 16:13:08 +01:00
Alexandre Julliard 16ddc62405 ntdll: Merge the thread data and thread regs structure, and make sure i386 regs are not available on other platforms. 2009-11-19 12:27:09 +01:00
Alexandre Julliard aced1b82ba ntdll: Move initialization of the debug registers to signal_i386.c. 2009-11-19 12:26:21 +01:00
Alexandre Julliard d4f1fffacc ntdll: Moved the TEB allocation routines to the platform-specific files. 2009-11-19 12:25:52 +01:00
Andrey Turkin be910d973a ntdll: Add stub for NtSetInformationThread(ThreadHideFromDebugger). 2009-10-06 16:13:17 +02:00
Juan Lang 2e92c726aa ntdll: Don't allow setting a zero thread affinity. 2009-09-29 13:29:43 +02:00
Eric Pouech 004fdc7a97 ntdll: Moved CPU related registry key creation from kernel32 to ntdll. 2009-09-22 16:54:14 +02:00
Eric Pouech 57f714f3eb ntdll: Reuse kernel32's cpu info to implement NtQuerySystemInformation(SystemProcessInformation). 2009-09-22 16:51:16 +02:00
Alexandre Julliard 8101a2fa1e ntdll: Move the abort_thread() function to the CPU-specific files to allow redefining it. 2009-08-28 11:54:50 +02:00
Michael Stefaniuc 091f33e8c6 ntdll: Fix a memory leak on an error path (Smatch). 2009-08-25 11:13:57 +02:00
Alexandre Julliard da8acbc47d server: Define an architecture-independent structure for process startup info. 2009-08-21 20:00:12 +02:00
Michael Karcher 89d4402cc5 ntdll: Fix get_server_context_flags. 2009-08-03 17:22:22 +02:00
Alexandre Julliard 6f68b774d7 ntdll: Avoid the close-on-exec race with pipe() on kernels that support pipe2(). 2009-07-01 12:13:34 +02:00
Alexandre Julliard 0610549529 ntdll: Move all thread exit processing to exit_thread(), and make RtlExitUserThread() CPU-specific. 2009-06-18 17:06:21 +02:00
Alexandre Julliard f124c7cc38 ntdll: Simplify the thread startup routine and make it CPU-specific. 2009-06-18 17:01:44 +02:00