summaryrefslogtreecommitdiff
path: root/libjava/java/util/concurrent/CyclicBarrier.h
blob: c6c4b3e4fb115e574a12703d42fc52351c771f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_concurrent_CyclicBarrier__
#define __java_util_concurrent_CyclicBarrier__

#pragma interface

#include <java/lang/Object.h>

class java::util::concurrent::CyclicBarrier : public ::java::lang::Object
{

  void nextGeneration();
  void breakBarrier();
  jint dowait(jboolean, jlong);
public:
  CyclicBarrier(jint, ::java::lang::Runnable *);
  CyclicBarrier(jint);
  virtual jint getParties();
  virtual jint await();
  virtual jint await(jlong, ::java::util::concurrent::TimeUnit *);
  virtual jboolean isBroken();
  virtual void reset();
  virtual jint getNumberWaiting();
private:
  ::java::util::concurrent::locks::ReentrantLock * __attribute__((aligned(__alignof__( ::java::lang::Object)))) lock;
  ::java::util::concurrent::locks::Condition * trip;
  jint parties;
  ::java::lang::Runnable * barrierCommand;
  ::java::util::concurrent::CyclicBarrier$Generation * generation;
  jint count;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_concurrent_CyclicBarrier__