src/share/vm/utilities/workgroup.hpp

changeset 2314
f95d63e2154a
parent 2188
8b10f48633dc
child 2651
92da084fefc9
equal deleted inserted replaced
2313:e33f46fc48ed 2314:f95d63e2154a
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 * 22 *
23 */ 23 */
24 24
25 #ifndef SHARE_VM_UTILITIES_WORKGROUP_HPP
26 #define SHARE_VM_UTILITIES_WORKGROUP_HPP
27
28 #include "utilities/taskqueue.hpp"
29 #ifdef TARGET_OS_FAMILY_linux
30 # include "thread_linux.inline.hpp"
31 #endif
32 #ifdef TARGET_OS_FAMILY_solaris
33 # include "thread_solaris.inline.hpp"
34 #endif
35 #ifdef TARGET_OS_FAMILY_windows
36 # include "thread_windows.inline.hpp"
37 #endif
38
25 // Forward declarations of classes defined here 39 // Forward declarations of classes defined here
26 40
27 class WorkGang; 41 class WorkGang;
28 class GangWorker; 42 class GangWorker;
29 class YieldingFlexibleGangWorker; 43 class YieldingFlexibleGangWorker;
456 // necessary). Returns "-1" if a GC wakes up a wait for an id. 470 // necessary). Returns "-1" if a GC wakes up a wait for an id.
457 int claim_par_id(); 471 int claim_par_id();
458 472
459 void release_par_id(int id); 473 void release_par_id(int id);
460 }; 474 };
475
476 #endif // SHARE_VM_UTILITIES_WORKGROUP_HPP

mercurial