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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [util/] [concurrent/] [locks/] [ReentrantLock.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_locks_ReentrantLock__
5
#define __java_util_concurrent_locks_ReentrantLock__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
 
11
class java::util::concurrent::locks::ReentrantLock : public ::java::lang::Object
12
{
13
 
14
public:
15
  ReentrantLock();
16
  ReentrantLock(jboolean);
17
  virtual void lock();
18
  virtual void lockInterruptibly();
19
  virtual jboolean tryLock();
20
  virtual jboolean tryLock(jlong, ::java::util::concurrent::TimeUnit *);
21
  virtual void unlock();
22
  virtual ::java::util::concurrent::locks::Condition * newCondition();
23
  virtual jint getHoldCount();
24
  virtual jboolean isHeldByCurrentThread();
25
  virtual jboolean isLocked();
26
  virtual jboolean isFair();
27
public: // actually protected
28
  virtual ::java::lang::Thread * getOwner();
29
public:
30
  virtual jboolean hasQueuedThreads();
31
  virtual jboolean hasQueuedThread(::java::lang::Thread *);
32
  virtual jint getQueueLength();
33
public: // actually protected
34
  virtual ::java::util::Collection * getQueuedThreads();
35
public:
36
  virtual jboolean hasWaiters(::java::util::concurrent::locks::Condition *);
37
  virtual jint getWaitQueueLength(::java::util::concurrent::locks::Condition *);
38
public: // actually protected
39
  virtual ::java::util::Collection * getWaitingThreads(::java::util::concurrent::locks::Condition *);
40
public:
41
  virtual ::java::lang::String * toString();
42
private:
43
  static const jlong serialVersionUID = 7373984872572414699LL;
44
  ::java::util::concurrent::locks::ReentrantLock$Sync * __attribute__((aligned(__alignof__( ::java::lang::Object)))) sync;
45
public:
46
  static ::java::lang::Class class$;
47
};
48
 
49
#endif // __java_util_concurrent_locks_ReentrantLock__

powered by: WebSVN 2.1.0

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