summaryrefslogtreecommitdiff
path: root/libjava/java/lang/ThreadLocal.h
blob: 13e1f84c6abadf421c7a8b9edbd56e860fbf12ad (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_lang_ThreadLocal__
#define __java_lang_ThreadLocal__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace gnu
  {
    namespace gcj
    {
        class RawData;
    }
  }
}

class java::lang::ThreadLocal : public ::java::lang::Object
{

  jint computeNextHash();
public:
  ThreadLocal();
public: // actually protected
  virtual ::java::lang::Object * initialValue();
public:
  virtual ::java::lang::Object * get();
private:
  ::java::lang::Object * internalGet();
public:
  virtual void set(::java::lang::Object *);
private:
  void internalSet(::java::lang::Object *);
public:
  virtual void remove();
private:
  void internalRemove();
public: // actually protected
  virtual void finalize();
private:
  void constructNative();
public: // actually package-private
  static ::java::lang::Object * sentinel;
private:
  static jint nextHashBase;
public: // actually package-private
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) fastHash;
private:
  ::gnu::gcj::RawData * TLSPointer;
public:
  static ::java::lang::Class class$;
};

#endif // __java_lang_ThreadLocal__