equal
deleted
inserted
replaced
49 // Atomically add to a location, return updated value |
49 // Atomically add to a location, return updated value |
50 static jint add (jint add_value, volatile jint* dest); |
50 static jint add (jint add_value, volatile jint* dest); |
51 static intptr_t add_ptr(intptr_t add_value, volatile intptr_t* dest); |
51 static intptr_t add_ptr(intptr_t add_value, volatile intptr_t* dest); |
52 static void* add_ptr(intptr_t add_value, volatile void* dest); |
52 static void* add_ptr(intptr_t add_value, volatile void* dest); |
53 |
53 |
|
54 static jlong add (jlong add_value, volatile jlong* dest); |
|
55 |
54 // Atomically increment location |
56 // Atomically increment location |
55 static void inc (volatile jint* dest); |
57 static void inc (volatile jint* dest); |
56 static void inc_ptr(volatile intptr_t* dest); |
58 static void inc_ptr(volatile intptr_t* dest); |
57 static void inc_ptr(volatile void* dest); |
59 static void inc_ptr(volatile void* dest); |
58 |
60 |