OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [util/] [concurrent/] [Semaphore.h] - Blame information for rev 758

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_util_concurrent_Semaphore__
5
#define __java_util_concurrent_Semaphore__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
 
11
class java::util::concurrent::Semaphore : public ::java::lang::Object
12
{
13
 
14
public:
15
  Semaphore(jint);
16
  Semaphore(jint, jboolean);
17
  virtual void acquire();
18
  virtual void acquireUninterruptibly();
19
  virtual jboolean tryAcquire();
20
  virtual jboolean tryAcquire(jlong, ::java::util::concurrent::TimeUnit *);
21
  virtual void release();
22
  virtual void acquire(jint);
23
  virtual void acquireUninterruptibly(jint);
24
  virtual jboolean tryAcquire(jint);
25
  virtual jboolean tryAcquire(jint, jlong, ::java::util::concurrent::TimeUnit *);
26
  virtual void release(jint);
27
  virtual jint availablePermits();
28
  virtual jint drainPermits();
29
public: // actually protected
30
  virtual void reducePermits(jint);
31
public:
32
  virtual jboolean isFair();
33
  virtual jboolean hasQueuedThreads();
34
  virtual jint getQueueLength();
35
public: // actually protected
36
  virtual ::java::util::Collection * getQueuedThreads();
37
public:
38
  virtual ::java::lang::String * toString();
39
private:
40
  static const jlong serialVersionUID = -3222578661600680210LL;
41
  ::java::util::concurrent::Semaphore$Sync * __attribute__((aligned(__alignof__( ::java::lang::Object)))) sync;
42
public:
43
  static ::java::lang::Class class$;
44
};
45
 
46
#endif // __java_util_concurrent_Semaphore__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.