summaryrefslogtreecommitdiff
path: root/libjava/java/util/concurrent/locks/ReentrantLock$Sync.h
blob: b3656d0df53228eb9ebb88a0d2b54608caffc0c8 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_concurrent_locks_ReentrantLock$Sync__
#define __java_util_concurrent_locks_ReentrantLock$Sync__

#pragma interface

#include <java/util/concurrent/locks/AbstractQueuedSynchronizer.h>

class java::util::concurrent::locks::ReentrantLock$Sync : public ::java::util::concurrent::locks::AbstractQueuedSynchronizer
{

public: // actually package-private
  ReentrantLock$Sync();
  virtual void lock() = 0;
  virtual jboolean nonfairTryAcquire(jint);
public: // actually protected
  virtual jboolean tryRelease(jint);
  virtual jboolean isHeldExclusively();
public: // actually package-private
  virtual ::java::util::concurrent::locks::AbstractQueuedSynchronizer$ConditionObject * newCondition();
  virtual ::java::lang::Thread * getOwner();
  virtual jint getHoldCount();
  virtual jboolean isLocked();
private:
  void readObject(::java::io::ObjectInputStream *);
  static const jlong serialVersionUID = -5179523762034025860LL;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_concurrent_locks_ReentrantLock$Sync__