comparison src/os_cpu/windows_x86/vm/vmStructs_windows_x86.hpp @ 6093:960a442eae91

7161732: Improve handling of thread_id in OSThread Reviewed-by: dholmes, kamg
author rbackman
date Tue, 22 May 2012 10:11:53 +0200
parents f95d63e2154a
children df84b4a3ebcb
comparison
equal deleted inserted replaced
6082:4b37c0dafe3a 6093:960a442eae91
1 /* 1 /*
2 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
33 \ 33 \
34 /******************************/ \ 34 /******************************/ \
35 /* Threads (NOTE: incomplete) */ \ 35 /* Threads (NOTE: incomplete) */ \
36 /******************************/ \ 36 /******************************/ \
37 \ 37 \
38 nonstatic_field(OSThread, _thread_id, unsigned long) \ 38 nonstatic_field(OSThread, _thread_id, OSThread::thread_id_t) \
39 unchecked_nonstatic_field(OSThread, _thread_handle, sizeof(HANDLE)) /* NOTE: no type */ \ 39 unchecked_nonstatic_field(OSThread, _thread_handle, sizeof(HANDLE)) /* NOTE: no type */ \
40 \ 40 \
41 /* This must be the last entry, and must be present */ \ 41 /* This must be the last entry, and must be present */ \
42 last_entry() 42 last_entry()
43 43