< prev index next >
src/hotspot/os/windows/os_windows.cpp
Print this page
*** 446,455 ****
--- 446,461 ----
// Thread must not return from exit_process_or_thread(), but if it does,
// let it proceed to exit normally
return (unsigned)os::win32::exit_process_or_thread(os::win32::EPT_THREAD, res);
}
+ // Unlike Linux we don't try to handle the initial process
+ // thread in any special way - so just report 'false'
+ bool os::is_primordial_thread(void) {
+ return false;
+ }
+
static OSThread* create_os_thread(Thread* thread, HANDLE thread_handle,
int thread_id) {
// Allocate the OSThread object
OSThread* osthread = new OSThread(NULL, NULL);
if (osthread == NULL) return NULL;
< prev index next >