1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_util_concurrent_locks_AbstractQueuedLongSynchronizer$ConditionObject__
|
5 |
|
|
#define __java_util_concurrent_locks_AbstractQueuedLongSynchronizer$ConditionObject__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
|
11 |
|
|
class java::util::concurrent::locks::AbstractQueuedLongSynchronizer$ConditionObject : public ::java::lang::Object
|
12 |
|
|
{
|
13 |
|
|
|
14 |
|
|
public:
|
15 |
|
|
AbstractQueuedLongSynchronizer$ConditionObject(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer *);
|
16 |
|
|
private:
|
17 |
|
|
::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node * addConditionWaiter();
|
18 |
|
|
void doSignal(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
|
19 |
|
|
void doSignalAll(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
|
20 |
|
|
jboolean isOnConditionQueue(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
|
21 |
|
|
void unlinkCancelledWaiter(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
|
22 |
|
|
public:
|
23 |
|
|
virtual void signal();
|
24 |
|
|
virtual void signalAll();
|
25 |
|
|
virtual void awaitUninterruptibly();
|
26 |
|
|
private:
|
27 |
|
|
jint checkInterruptWhileWaiting(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node *);
|
28 |
|
|
void reportInterruptAfterWait(jint);
|
29 |
|
|
public:
|
30 |
|
|
virtual void await();
|
31 |
|
|
virtual jlong awaitNanos(jlong);
|
32 |
|
|
virtual jboolean awaitUntil(::java::util::Date *);
|
33 |
|
|
virtual jboolean await(jlong, ::java::util::concurrent::TimeUnit *);
|
34 |
|
|
public: // actually package-private
|
35 |
|
|
virtual jboolean isOwnedBy(::java::util::concurrent::locks::AbstractQueuedLongSynchronizer *);
|
36 |
|
|
public: // actually protected
|
37 |
|
|
virtual jboolean hasWaiters();
|
38 |
|
|
virtual jint getWaitQueueLength();
|
39 |
|
|
virtual ::java::util::Collection * getWaitingThreads();
|
40 |
|
|
private:
|
41 |
|
|
static const jlong serialVersionUID = 1173984872572414699LL;
|
42 |
|
|
::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node * __attribute__((aligned(__alignof__( ::java::lang::Object)))) firstWaiter;
|
43 |
|
|
::java::util::concurrent::locks::AbstractQueuedLongSynchronizer$Node * lastWaiter;
|
44 |
|
|
static const jint REINTERRUPT = 1;
|
45 |
|
|
static const jint THROW_IE = -1;
|
46 |
|
|
public: // actually package-private
|
47 |
|
|
::java::util::concurrent::locks::AbstractQueuedLongSynchronizer * this$0;
|
48 |
|
|
public:
|
49 |
|
|
static ::java::lang::Class class$;
|
50 |
|
|
};
|
51 |
|
|
|
52 |
|
|
#endif // __java_util_concurrent_locks_AbstractQueuedLongSynchronizer$ConditionObject__
|