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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [util/] [concurrent/] [atomic/] [AtomicLong.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_atomic_AtomicLong__
5
#define __java_util_concurrent_atomic_AtomicLong__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Number.h>
10
extern "Java"
11
{
12
  namespace sun
13
  {
14
    namespace misc
15
    {
16
        class Unsafe;
17
    }
18
  }
19
}
20
 
21
class java::util::concurrent::atomic::AtomicLong : public ::java::lang::Number
22
{
23
 
24
  static jboolean VMSupportsCS8();
25
public:
26
  AtomicLong(jlong);
27
  AtomicLong();
28
  virtual jlong get();
29
  virtual void set(jlong);
30
  virtual void lazySet(jlong);
31
  virtual jlong getAndSet(jlong);
32
  virtual jboolean compareAndSet(jlong, jlong);
33
  virtual jboolean weakCompareAndSet(jlong, jlong);
34
  virtual jlong getAndIncrement();
35
  virtual jlong getAndDecrement();
36
  virtual jlong getAndAdd(jlong);
37
  virtual jlong incrementAndGet();
38
  virtual jlong decrementAndGet();
39
  virtual jlong addAndGet(jlong);
40
  virtual ::java::lang::String * toString();
41
  virtual jint intValue();
42
  virtual jlong longValue();
43
  virtual jfloat floatValue();
44
  virtual jdouble doubleValue();
45
private:
46
  static const jlong serialVersionUID = 1927816293512124184LL;
47
  static ::sun::misc::Unsafe * unsafe;
48
  static jlong valueOffset;
49
public: // actually package-private
50
  static jboolean VM_SUPPORTS_LONG_CAS;
51
private:
52
  jlong volatile __attribute__((aligned(__alignof__( ::java::lang::Number)))) value;
53
public:
54
  static ::java::lang::Class class$;
55
};
56
 
57
#endif // __java_util_concurrent_atomic_AtomicLong__

powered by: WebSVN 2.1.0

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