summaryrefslogtreecommitdiff
path: root/libjava/java/util/concurrent/locks/LockSupport.h
blob: 15ef7306f8b22da70c8ac4d0fab2cd2b77db5251 (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
34
35
36
37
38
39
40
41
42
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_concurrent_locks_LockSupport__
#define __java_util_concurrent_locks_LockSupport__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace sun
  {
    namespace misc
    {
        class Unsafe;
    }
  }
}

class java::util::concurrent::locks::LockSupport : public ::java::lang::Object
{

  LockSupport();
  static void setBlocker(::java::lang::Thread *, ::java::lang::Object *);
public:
  static void unpark(::java::lang::Thread *);
  static void park(::java::lang::Object *);
  static void parkNanos(::java::lang::Object *, jlong);
  static void parkUntil(::java::lang::Object *, jlong);
  static ::java::lang::Object * getBlocker(::java::lang::Thread *);
  static void park();
  static void parkNanos(jlong);
  static void parkUntil(jlong);
private:
  static ::sun::misc::Unsafe * unsafe;
  static jlong parkBlockerOffset;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_concurrent_locks_LockSupport__