Commit Graph

152 Commits

Author SHA1 Message Date
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
Alexandre Julliard 5316dd011f server: Define a generic context structure instead of using the platform-specific version. 2009-04-08 19:59:23 +02:00
Alexandre Julliard b06a919c3c server: Use the thread entry point field to pass the PEB in the initial thread. 2009-04-03 14:30:34 +02:00
Alexandre Julliard 5170b1b456 ntdll: Remove no longer used pthread_functions structure. 2009-03-30 15:04:51 +02:00
Alexandre Julliard c456721435 ntdll: Get rid of the no longer used pthread emulation. 2009-03-26 13:20:04 +01:00
Alexandre Julliard 75be87dd75 ntdll: Move the copy_context function into the respective CPU-specific files. 2009-03-13 11:31:25 +01:00
Alexandre Julliard 1056771b91 ntdll: Allocate the stack for all threads, don't rely on pthread to do it for us. 2009-02-23 14:24:59 +01:00
Alexandre Julliard 67e45d66d3 ntdll: Don't free the thread stack and TEB while exiting, do it from the next thread. 2009-02-23 14:24:03 +01:00
Alexandre Julliard 1ac7bafcb2 ntdll: Call pthread_create and pthread_exit directly from ntdll. 2009-02-20 18:07:42 +01:00
Alexandre Julliard cc933f586a ntdll: Moved exit_thread and abort_thread functions to thread.c. 2009-02-20 18:07:41 +01:00
Alexandre Julliard 36334a1b5a ntdll: Call pthread_sigmask directly instead of through the pthread function table. 2009-02-20 18:07:41 +01:00
Alexandre Julliard 66255772fc ntdll: Move the CPU-specific handling of current TEB to the respective signal files. 2009-02-18 13:04:50 +01:00
Alexandre Julliard 5adfec2883 ntdll: Determine the Unix tid for the server directly in ntdll. 2009-02-18 12:30:01 +01:00
Juan Lang 3d7118bcd1 ntdll: Implement the ThreadAffinityMask query. 2009-01-23 13:47:14 +01:00
Alexandre Julliard 913e792b57 server: Store process/thread affinity as a 64-bit value. 2009-01-19 14:15:51 +01:00
Alexandre Julliard 14c452fe78 ntdll: Replaced get_cpu_context by RtlCaptureContext. Implemented it for x86_64. 2009-01-06 17:50:34 +01:00
Alexandre Julliard fa8643805b server: Make TEB and PEB client_ptr_t instead of void pointers. 2008-12-31 15:09:59 +01:00
Alexandre Julliard 6db201080f server: Make the various async I/O parameters client_ptr_t instead of void pointers. 2008-12-30 21:09:41 +01:00
Alexandre Julliard f69e62207b server: Make the arguments for CreateRemoteThread client_ptr_t instead of void pointers. 2008-12-30 15:30:11 +01:00
Alexandre Julliard b660aaa9ea server: Use the same field for process and thread handle in the queue_apc request. 2008-12-26 12:33:31 +01:00