Mercurial > hg > truffle
comparison src/share/vm/utilities/workgroup.hpp @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | 8b10f48633dc |
children | 92da084fefc9 |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972: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 |