equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2014, 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. |
39 |
39 |
40 void OSThread::pd_initialize() { |
40 void OSThread::pd_initialize() { |
41 _thread_id = 0; |
41 _thread_id = 0; |
42 sigemptyset(&_caller_sigmask); |
42 sigemptyset(&_caller_sigmask); |
43 |
43 |
44 _saved_interrupt_thread_state = _thread_new; |
|
45 _vm_created_thread = false; |
44 _vm_created_thread = false; |
46 } |
45 } |
47 |
46 |
48 void OSThread::pd_destroy() { |
47 void OSThread::pd_destroy() { |
49 } |
48 } |