src/share/vm/utilities/taskqueue.cpp

changeset 976
23673011938d
parent 905
ad8c8ca4ab0f
child 981
05c6d52fa7a9
equal deleted inserted replaced
971:5b39c489c39d 976:23673011938d
67 67
68 bool 68 bool
69 ParallelTaskTerminator::offer_termination(TerminatorTerminator* terminator) { 69 ParallelTaskTerminator::offer_termination(TerminatorTerminator* terminator) {
70 Atomic::inc(&_offered_termination); 70 Atomic::inc(&_offered_termination);
71 71
72 juint yield_count = 0; 72 uint yield_count = 0;
73 while (true) { 73 while (true) {
74 if (_offered_termination == _n_threads) { 74 if (_offered_termination == _n_threads) {
75 //inner_termination_loop(); 75 //inner_termination_loop();
76 return true; 76 return true;
77 } else { 77 } else {

mercurial