Commit Graph

219 Commits

Author SHA1 Message Date
Alexandre Julliard
5532927ed3 server: Make sure a thread doesn't get freed while it's processing a request. 2010-05-16 12:34:28 +02:00
Alexandre Julliard
ac69fcb14f server: Check that the prefix type can support the client architecture. 2010-05-04 20:27:20 +02:00
Alexandre Julliard
bbc03d5172 server: Use the prefix architecture instead of the server one to check for WoW processes. 2010-05-04 20:26:53 +02:00
Alexandre Julliard
ac08b038f0 server: Initial support for Wow64 registry redirection. 2010-03-02 12:03:17 +01:00
Alexandre Julliard
9ce56b2729 server: Set the initial thread affinity from the process. 2010-02-02 16:12:01 +01:00
Alexandre Julliard
2f3fa8596b server: Allow changing a thread affinity before it is initialized. 2010-02-02 15:58:02 +01:00
Alexandre Julliard
a764fe8921 server: Use the correct thread id to set affinity. 2009-11-20 11:44:54 +01:00
Juan Lang
bfb4578356 server: A thread's affinity is restricted to the process affinity. 2009-10-01 11:33:33 +02:00
Juan Lang
474b2e4bfb server: Use kernel support for thread affinity when available. 2009-09-30 14:34:32 +02:00
Juan Lang
24036fe13a server: Setting a process's affinity sets all of its threads' affinities too. 2009-09-30 14:34:32 +02:00
Alexandre Julliard
fd78e6e3a5 server: Restart at the head of the wait queue when we woke a thread, since this can modify the queue. 2009-06-13 12:20:49 +02:00
Alexandre Julliard
5dcf157b5b server: Hide a window before destroying it if it was still visible. 2009-06-03 11:29:15 +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
279defe66e server: Verify that the client is using a supported CPU type. 2009-04-03 14:59:12 +02:00
Alexandre Julliard
653d2c4a8d server: Store the type of CPU that the client is running on. 2009-04-03 14:49:10 +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
9f365e7705 server: Replace EXCEPTION_RECORD by an explicit definition in debug events. 2009-01-02 20:12:46 +01:00
Alexandre Julliard
bc03f0ee39 server: Simplify the debug_event_t structure. 2009-01-02 20:09:25 +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
c6c335d70e server: Make thread entry points client_ptr_t instead of void pointers. 2008-12-31 15:09:59 +01:00
Alexandre Julliard
2cf868c0be server: Move ldt_copy to the init_process_done request and make it a client_ptr_t. 2008-12-31 15:09:59 +01:00
Alexandre Julliard
f507ccbf52 server: Specify the user APC to call only once the system APC has executed. 2008-12-30 20:51:55 +01:00
Alexandre Julliard
7560a89022 server: Make padding explicit in the wake_up_reply structure. 2008-12-30 15:15:06 +01:00
Alexandre Julliard
45c991937a server: Make the select cookie a client_ptr_t instead of a void pointer. 2008-12-29 17:21:32 +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
H. Verbeet
ff870e0132 server: Calling ResumeThread() on a terminated thread is valid. 2008-07-23 11:21:47 +02:00
Alexandre Julliard
3bf12b9aca server: Don't force the process affinity to 1, leave it up to the client. 2008-01-17 13:40:03 +01:00
Alexandre Julliard
3b244b95b2 server: Use SIGQUIT instead of SIGTERM to terminate a thread.
This allows keeping the default SIGTERM behavior of killing the whole
process.
2007-12-20 12:19:35 +01:00
Alexandre Julliard
8382eb01b2 server: Return correct object types in the get_directory_entry request. 2007-12-05 18:16:42 +01:00
Andrey Turkin
7a9210fa85 server: Pass Information field from async I/O APCs. 2007-11-15 14:24:50 +01:00
Rob Shearman
c1707d8938 server: Add get_sd and set_sd object operations to allow the security descriptor to be stored somewhere other than server memory, such as on disk. 2007-10-04 12:30:52 +02:00
Matt Jones
6763742090 server: Only commit SetThreadPriority if new priority is correct. 2007-07-25 13:59:17 +02:00
Alexandre Julliard
fec5117e91 server: Merge APC processing into the select request.
This is needed to return the correct value when one of the handles
being waited on is set to signaled state by the APC.
2007-07-16 16:14:45 +02:00
Alexandre Julliard
4c5b55a0f8 server: Run async I/O APCs from the SIGUSR1 handler. 2007-06-04 18:16:48 +02:00
Alexandre Julliard
48c5321586 server: Give system APCs priority over signaled objects. 2007-05-01 14:07:24 +02:00
Alexandre Julliard
aaf477f292 server: Change the timeout handling to use NT-style 64-bit timeouts everywhere. 2007-04-17 20:08:59 +02:00
Alexandre Julliard
635714397f server: Add infrastructure for ioctl server request. 2007-04-16 14:45:03 +02:00
Alexandre Julliard
3f0575943e server: Don't bother with default entry points for objects that don't even return an fd. 2007-04-12 20:21:53 +02:00
Alexandre Julliard
7a9363a4d4 server: Rename the get_file_info function to get_fd_type and get rid of the flags. 2007-04-10 22:26:23 +02:00
Alexandre Julliard
f85437c57f server: Store the opening options in the file descriptor instead of in the individual objects.
Allows moving the FD_FLAG_OVERLAPPED support to the generic
get_handle_fd request handling.
2007-04-10 22:25:07 +02:00
Alexandre Julliard
72bff2e445 server: Add support for restarting an async I/O when the client side couldn't finish it right away. 2007-04-10 17:07:27 +02:00
Alexandre Julliard
7e71c1ddee server: Add an open_file() function to the object operations. 2007-03-22 11:44:29 +01:00
Alexandre Julliard
8adce7765a server: Notify the async object when the APC call completed. 2007-03-21 14:28:23 +01:00
Alexandre Julliard
52a9af7ecb server: Grab the owner object of an APC while the APC is executing. 2007-03-20 19:22:39 +01:00
Andrew Talbot
b1788c8462 server: Replace inline static with static inline. 2007-03-17 20:05:05 +01:00
Alexandre Julliard
49868e3c93 server: Clear the thread wait before releasing objects to avoid nested calls.
Reported by Misha Koshelev.
2007-02-05 18:05:03 +01:00
Alexandre Julliard
f3cb4f7d94 ntdll: Avoid inter-process APCs when called for the process itself. 2007-01-18 15:41:05 +01:00
Alexandre Julliard
02e2fa7798 ntdll: Implementation of inter-process NtMapViewOfSection and NtUnmapViewOfSection. 2007-01-18 15:17:51 +01:00
Alexandre Julliard
8025f79ce1 ntdll: Implementation of inter-process RtlCreateUserThread. 2007-01-18 15:02:55 +01:00
Alexandre Julliard
c122260b9d ntdll: Implemented NtLockVirtualMemory and NtUnlockVirtualMemory. 2007-01-16 09:50:08 +01:00