Package org.teavm.jso.typedarrays
Class Atomics
java.lang.Object
org.teavm.jso.typedarrays.Atomics
- All Implemented Interfaces:
org.teavm.jso.JSObject
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic longadd(BigInt64Array typedArray, int index, long value) static shortadd(Int16Array typedArray, int index, short value) static intadd(Int32Array typedArray, int index, int value) static bytestatic longand(BigInt64Array typedArray, int index, long value) static shortand(Int16Array typedArray, int index, short value) static intand(Int32Array typedArray, int index, int value) static bytestatic intcompareExchange(BigInt64Array typedArray, int index, long expectedValue, long replacementValue) static shortcompareExchange(Int16Array typedArray, int index, short expectedValue, short replacementValue) static intcompareExchange(Int32Array typedArray, int index, int expectedValue, int replacementValue) static bytecompareExchange(Int8Array typedArray, int index, byte expectedValue, byte replacementValue) static longexchange(BigInt64Array typedArray, int index, long value) static shortexchange(Int16Array typedArray, int index, short value) static intexchange(Int32Array typedArray, int index, int value) static bytestatic booleanisLockFree(int size) static longload(BigInt64Array typedArray, int index) static shortload(Int16Array typedArray, int index) static intload(Int32Array typedArray, int index) static bytestatic intnotify(BigInt64Array typedArray, int index, int count) static intnotify(Int32Array typedArray, int index, int count) static longor(BigInt64Array typedArray, int index, long value) static shortor(Int16Array typedArray, int index, short value) static intor(Int32Array typedArray, int index, int value) static bytestatic voidpause()static longstore(BigInt64Array typedArray, int index, long value) static shortstore(Int16Array typedArray, int index, short value) static intstore(Int32Array typedArray, int index, int value) static bytestatic longsub(BigInt64Array typedArray, int index, long value) static shortsub(Int16Array typedArray, int index, short value) static intsub(Int32Array typedArray, int index, int value) static bytestatic Stringwait(BigInt64Array typedArray, int index, long value) static Stringwait(BigInt64Array typedArray, int index, long value, int timeout) static Stringwait(Int32Array typedArray, int index, int value) static Stringwait(Int32Array typedArray, int index, int value, int timeout) static Atomics.AsyncWaitResultwaitAsync(BigInt64Array typedArray, int index, long value) static Atomics.AsyncWaitResultwaitAsync(BigInt64Array typedArray, int index, long value, int timeout) static Atomics.AsyncWaitResultwaitAsync(Int32Array typedArray, int index, int value) static Atomics.AsyncWaitResultwaitAsync(Int32Array typedArray, int index, int value, int timeout) static longxor(BigInt64Array typedArray, int index, long value) static shortxor(Int16Array typedArray, int index, short value) static intxor(Int32Array typedArray, int index, int value) static byteMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.teavm.jso.JSObject
cast
-
Field Details
-
WAIT_OK
- See Also:
-
WAIT_NOT_EQUAL
- See Also:
-
WAIT_TIMED_OUT
- See Also:
-
-
Method Details
-
add
-
add
-
add
-
add
-
and
-
and
-
and
-
and
-
compareExchange
public static byte compareExchange(Int8Array typedArray, int index, byte expectedValue, byte replacementValue) -
compareExchange
public static short compareExchange(Int16Array typedArray, int index, short expectedValue, short replacementValue) -
compareExchange
public static int compareExchange(Int32Array typedArray, int index, int expectedValue, int replacementValue) -
compareExchange
public static int compareExchange(BigInt64Array typedArray, int index, long expectedValue, long replacementValue) -
exchange
-
exchange
-
exchange
-
exchange
-
isLockFree
public static boolean isLockFree(int size) -
load
-
load
-
load
-
load
-
notify
-
notify
-
or
-
or
-
or
-
or
-
pause
public static void pause() -
store
-
store
-
store
-
store
-
sub
-
sub
-
sub
-
sub
-
wait
-
wait
-
wait
-
wait
-
waitAsync
-
waitAsync
public static Atomics.AsyncWaitResult waitAsync(Int32Array typedArray, int index, int value, int timeout) -
waitAsync
-
waitAsync
public static Atomics.AsyncWaitResult waitAsync(BigInt64Array typedArray, int index, long value, int timeout) -
xor
-
xor
-
xor
-
xor
-