Alexandre Julliard : ntdll: Remove pthread_data from the ntdll_thread_data structure. Document the offsets for 64-bit.
Alexandre Julliard
julliard at winehq.org
Thu Apr 9 11:13:51 CDT 2009
Module: wine
Branch: master
Commit: 2a2fe959afd1e6bc0d28b088dc6791afc10626cf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2a2fe959afd1e6bc0d28b088dc6791afc10626cf
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Apr 9 14:41:12 2009 +0200
ntdll: Remove pthread_data from the ntdll_thread_data structure. Document the offsets for 64-bit.
---
dlls/ntdll/ntdll_misc.h | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/dlls/ntdll/ntdll_misc.h b/dlls/ntdll/ntdll_misc.h
index 61622b1..b626df8 100644
--- a/dlls/ntdll/ntdll_misc.h
+++ b/dlls/ntdll/ntdll_misc.h
@@ -188,15 +188,14 @@ struct debug_info
/* thread private data, stored in NtCurrentTeb()->SystemReserved2 */
struct ntdll_thread_data
{
- DWORD fs; /* 1d4 TEB selector */
- DWORD gs; /* 1d8 libc selector; update winebuild if you move this! */
- struct debug_info *debug_info; /* 1dc info for debugstr functions */
- int request_fd; /* 1e0 fd for sending server requests */
- int reply_fd; /* 1e4 fd for receiving server replies */
- int wait_fd[2]; /* 1e8 fd for sleeping server requests */
- void *vm86_ptr; /* 1f0 data for vm86 mode */
- void *pthread_data; /* 1f4 private data for pthread emulation */
- pthread_t pthread_id; /* 1f8 pthread thread id */
+ DWORD fs; /* 1d4/300 TEB selector */
+ DWORD gs; /* 1d8/304 libc selector; update winebuild if you move this! */
+ struct debug_info *debug_info; /* 1dc/308 info for debugstr functions */
+ int request_fd; /* 1e0/310 fd for sending server requests */
+ int reply_fd; /* 1e4/314 fd for receiving server replies */
+ int wait_fd[2]; /* 1e8/318 fd for sleeping server requests */
+ void *vm86_ptr; /* 1f0/320 data for vm86 mode */
+ pthread_t pthread_id; /* 1f4/328 pthread thread id */
};
static inline struct ntdll_thread_data *ntdll_get_thread_data(void)
More information about the wine-cvs
mailing list