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

#ifndef __java_util_concurrent_Semaphore$Sync__
#define __java_util_concurrent_Semaphore$Sync__

#pragma interface

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

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

public: // actually package-private
  Semaphore$Sync(jint);
  virtual jint getPermits();
  virtual jint nonfairTryAcquireShared(jint);
public: // actually protected
  virtual jboolean tryReleaseShared(jint);
public: // actually package-private
  virtual void reducePermits(jint);
  virtual jint drainPermits();
private:
  static const jlong serialVersionUID = 1192457210091910933LL;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_concurrent_Semaphore$Sync__