Packages

trait Atomics extends scala.scalajs.js.Object with StObject

Annotations
@JSType() @native()
Source
Atomics.scala
Linear Supertypes
StObject, scala.scalajs.js.Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Atomics
  2. StObject
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): scala.Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): scala.Boolean
    Definition Classes
    AnyRef → Any
  4. def add(typedArray: scala.scalajs.js.typedarray.Uint8Array, index: Double, value: Double): Double
  5. def add(typedArray: scala.scalajs.js.typedarray.Uint32Array, index: Double, value: Double): Double
  6. def add(typedArray: scala.scalajs.js.typedarray.Uint16Array, index: Double, value: Double): Double
  7. def add(typedArray: scala.scalajs.js.typedarray.Int8Array, index: Double, value: Double): Double

    Adds a value to the value at the given position in the array, returning the original value.

    Adds a value to the value at the given position in the array, returning the original value. Until this atomic operation completes, any other read or write operation against the array will block.

  8. def add(typedArray: scala.scalajs.js.typedarray.Int32Array, index: Double, value: Double): Double
  9. def add(typedArray: scala.scalajs.js.typedarray.Int16Array, index: Double, value: Double): Double
  10. def add(typedArray: BigUint64Array, index: Double, value: scala.scalajs.js.BigInt): scala.scalajs.js.BigInt
  11. def add(typedArray: BigInt64Array, index: Double, value: scala.scalajs.js.BigInt): scala.scalajs.js.BigInt

    Adds a value to the value at the given position in the array, returning the original value.

    Adds a value to the value at the given position in the array, returning the original value. Until this atomic operation completes, any other read or write operation against the array will block.

  12. def and(typedArray: scala.scalajs.js.typedarray.Uint8Array, index: Double, value: Double): Double
  13. def and(typedArray: scala.scalajs.js.typedarray.Uint32Array, index: Double, value: Double): Double
  14. def and(typedArray: scala.scalajs.js.typedarray.Uint16Array, index: Double, value: Double): Double
  15. def and(typedArray: scala.scalajs.js.typedarray.Int8Array, index: Double, value: Double): Double

    Stores the bitwise AND of a value with the value at the given position in the array, returning the original value.

    Stores the bitwise AND of a value with the value at the given position in the array, returning the original value. Until this atomic operation completes, any other read or write operation against the array will block.

  16. def and(typedArray: scala.scalajs.js.typedarray.Int32Array, index: Double, value: Double): Double
  17. def and(typedArray: scala.scalajs.js.typedarray.Int16Array, index: Double, value: Double): Double
  18. def and(typedArray: BigUint64Array, index: Double, value: scala.scalajs.js.BigInt): scala.scalajs.js.BigInt
  19. def and(typedArray: BigInt64Array, index: Double, value: scala.scalajs.js.BigInt): scala.scalajs.js.BigInt

    Stores the bitwise AND of a value with the value at the given position in the array, returning the original value.

    Stores the bitwise AND of a value with the value at the given position in the array, returning the original value. Until this atomic operation completes, any other read or write operation against the array will block.

  20. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  21. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  22. def compareExchange(typedArray: scala.scalajs.js.typedarray.Uint8Array, index: Double, expectedValue: Double, replacementValue: Double): Double
  23. def compareExchange(typedArray: scala.scalajs.js.typedarray.Uint32Array, index: Double, expectedValue: Double, replacementValue: Double): Double
  24. def compareExchange(typedArray: scala.scalajs.js.typedarray.Uint16Array, index: Double, expectedValue: Double, replacementValue: Double): Double
  25. def compareExchange(typedArray: scala.scalajs.js.typedarray.Int8Array, index: Double, expectedValue: Double, replacementValue: Double): Double

    Replaces the value at the given position in the array if the original value equals the given expected value, returning the original value.

    Replaces the value at the given position in the array if the original value equals the given expected value, returning the original value. Until this atomic operation completes, any other read or write operation against the array will block.

  26. def compareExchange(typedArray: scala.scalajs.js.typedarray.Int32Array, index: Double, expectedValue: Double, replacementValue: Double): Double
  27. def compareExchange(typedArray: scala.scalajs.js.typedarray.Int16Array, index: Double, expectedValue: Double, replacementValue: Double): Double
  28. def compareExchange(typedArray: BigUint64Array, index: Double, expectedValue: scala.scalajs.js.BigInt, replacementValue: scala.scalajs.js.BigInt): scala.scalajs.js.BigInt
  29. def compareExchange(typedArray: BigInt64Array, index: Double, expectedValue: scala.scalajs.js.BigInt, replacementValue: scala.scalajs.js.BigInt): scala.scalajs.js.BigInt

    Replaces the value at the given position in the array if the original value equals the given expected value, returning the original value.

    Replaces the value at the given position in the array if the original value equals the given expected value, returning the original value. Until this atomic operation completes, any other read or write operation against the array will block.

  30. final def eq(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  31. def equals(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef → Any
  32. def exchange(typedArray: scala.scalajs.js.typedarray.Uint8Array, index: Double, value: Double): Double
  33. def exchange(typedArray: scala.scalajs.js.typedarray.Uint32Array, index: Double, value: Double): Double
  34. def exchange(typedArray: scala.scalajs.js.typedarray.Uint16Array, index: Double, value: Double): Double
  35. def exchange(typedArray: scala.scalajs.js.typedarray.Int8Array, index: Double, value: Double): Double

    Replaces the value at the given position in the array, returning the original value.

    Replaces the value at the given position in the array, returning the original value. Until this atomic operation completes, any other read or write operation against the array will block.

  36. def exchange(typedArray: scala.scalajs.js.typedarray.Int32Array, index: Double, value: Double): Double
  37. def exchange(typedArray: scala.scalajs.js.typedarray.Int16Array, index: Double, value: Double): Double
  38. def exchange(typedArray: BigUint64Array, index: Double, value: scala.scalajs.js.BigInt): scala.scalajs.js.BigInt
  39. def exchange(typedArray: BigInt64Array, index: Double, value: scala.scalajs.js.BigInt): scala.scalajs.js.BigInt

    Replaces the value at the given position in the array, returning the original value.

    Replaces the value at the given position in the array, returning the original value. Until this atomic operation completes, any other read or write operation against the array will block.

  40. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  41. def hasOwnProperty(v: scala.Predef.String): scala.Boolean
    Definition Classes
    Object
  42. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  43. final def isInstanceOf[T0]: scala.Boolean
    Definition Classes
    Any
  44. def isLockFree(size: Double): scala.Boolean

    Returns a value indicating whether high-performance algorithms can use atomic operations (true) or must use locks (false) for the given number of bytes-per-element of a typed array.

  45. def isPrototypeOf(v: scala.scalajs.js.Object): scala.Boolean
    Definition Classes
    Object
  46. def load(typedArray: scala.scalajs.js.typedarray.Uint8Array, index: Double): Double
  47. def load(typedArray: scala.scalajs.js.typedarray.Uint32Array, index: Double): Double
  48. def load(typedArray: scala.scalajs.js.typedarray.Uint16Array, index: Double): Double
  49. def load(typedArray: scala.scalajs.js.typedarray.Int8Array, index: Double): Double

    Returns the value at the given position in the array.

    Returns the value at the given position in the array. Until this atomic operation completes, any other read or write operation against the array will block.

  50. def load(typedArray: scala.scalajs.js.typedarray.Int32Array, index: Double): Double
  51. def load(typedArray: scala.scalajs.js.typedarray.Int16Array, index: Double): Double
  52. def load(typedArray: BigUint64Array, index: Double): scala.scalajs.js.BigInt
  53. def load(typedArray: BigInt64Array, index: Double): scala.scalajs.js.BigInt

    Returns the value at the given position in the array.

    Returns the value at the given position in the array. Until this atomic operation completes, any other read or write operation against the array will block.

  54. final def ne(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  55. def notify(typedArray: scala.scalajs.js.typedarray.Int32Array, index: Double, count: Double): Double
  56. def notify(typedArray: scala.scalajs.js.typedarray.Int32Array, index: Double): Double

    Wakes up sleeping agents that are waiting on the given index of the array, returning the number of agents that were awoken.

    Wakes up sleeping agents that are waiting on the given index of the array, returning the number of agents that were awoken.

    typedArray

    A shared Int32Array.

    index

    The position in the typedArray to wake up on.

  57. def notify(typedArray: BigInt64Array, index: Double, count: Double): Double
  58. def notify(typedArray: BigInt64Array, index: Double): Double

    Wakes up sleeping agents that are waiting on the given index of the array, returning the number of agents that were awoken.

    Wakes up sleeping agents that are waiting on the given index of the array, returning the number of agents that were awoken.

    typedArray

    A shared BigInt64Array.

    index

    The position in the typedArray to wake up on.

  59. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  60. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  61. def or(typedArray: scala.scalajs.js.typedarray.Uint8Array, index: Double, value: Double): Double
  62. def or(typedArray: scala.scalajs.js.typedarray.Uint32Array, index: Double, value: Double): Double
  63. def or(typedArray: scala.scalajs.js.typedarray.Uint16Array, index: Double, value: Double): Double
  64. def or(typedArray: scala.scalajs.js.typedarray.Int8Array, index: Double, value: Double): Double

    Stores the bitwise OR of a value with the value at the given position in the array, returning the original value.

    Stores the bitwise OR of a value with the value at the given position in the array, returning the original value. Until this atomic operation completes, any other read or write operation against the array will block.

  65. def or(typedArray: scala.scalajs.js.typedarray.Int32Array, index: Double, value: Double): Double
  66. def or(typedArray: scala.scalajs.js.typedarray.Int16Array, index: Double, value: Double): Double
  67. def or(typedArray: BigUint64Array, index: Double, value: scala.scalajs.js.BigInt): scala.scalajs.js.BigInt
  68. def or(typedArray: BigInt64Array, index: Double, value: scala.scalajs.js.BigInt): scala.scalajs.js.BigInt

    Stores the bitwise OR of a value with the value at the given position in the array, returning the original value.

    Stores the bitwise OR of a value with the value at the given position in the array, returning the original value. Until this atomic operation completes, any other read or write operation against the array will block.

  69. def propertyIsEnumerable(v: scala.Predef.String): scala.Boolean
    Definition Classes
    Object
  70. def store(typedArray: scala.scalajs.js.typedarray.Uint8Array, index: Double, value: Double): Double
  71. def store(typedArray: scala.scalajs.js.typedarray.Uint32Array, index: Double, value: Double): Double
  72. def store(typedArray: scala.scalajs.js.typedarray.Uint16Array, index: Double, value: Double): Double
  73. def store(typedArray: scala.scalajs.js.typedarray.Int8Array, index: Double, value: Double): Double

    Stores a value at the given position in the array, returning the new value.

    Stores a value at the given position in the array, returning the new value. Until this atomic operation completes, any other read or write operation against the array will block.

  74. def store(typedArray: scala.scalajs.js.typedarray.Int32Array, index: Double, value: Double): Double
  75. def store(typedArray: scala.scalajs.js.typedarray.Int16Array, index: Double, value: Double): Double
  76. def store(typedArray: BigUint64Array, index: Double, value: scala.scalajs.js.BigInt): scala.scalajs.js.BigInt
  77. def store(typedArray: BigInt64Array, index: Double, value: scala.scalajs.js.BigInt): scala.scalajs.js.BigInt

    Stores a value at the given position in the array, returning the new value.

    Stores a value at the given position in the array, returning the new value. Until this atomic operation completes, any other read or write operation against the array will block.

  78. def sub(typedArray: scala.scalajs.js.typedarray.Uint8Array, index: Double, value: Double): Double
  79. def sub(typedArray: scala.scalajs.js.typedarray.Uint32Array, index: Double, value: Double): Double
  80. def sub(typedArray: scala.scalajs.js.typedarray.Uint16Array, index: Double, value: Double): Double
  81. def sub(typedArray: scala.scalajs.js.typedarray.Int8Array, index: Double, value: Double): Double

    Subtracts a value from the value at the given position in the array, returning the original value.

    Subtracts a value from the value at the given position in the array, returning the original value. Until this atomic operation completes, any other read or write operation against the array will block.

  82. def sub(typedArray: scala.scalajs.js.typedarray.Int32Array, index: Double, value: Double): Double
  83. def sub(typedArray: scala.scalajs.js.typedarray.Int16Array, index: Double, value: Double): Double
  84. def sub(typedArray: BigUint64Array, index: Double, value: scala.scalajs.js.BigInt): scala.scalajs.js.BigInt
  85. def sub(typedArray: BigInt64Array, index: Double, value: scala.scalajs.js.BigInt): scala.scalajs.js.BigInt

    Subtracts a value from the value at the given position in the array, returning the original value.

    Subtracts a value from the value at the given position in the array, returning the original value. Until this atomic operation completes, any other read or write operation against the array will block.

  86. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  87. def toLocaleString(): scala.Predef.String
    Definition Classes
    Object
  88. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  89. val toStringTag: stdStrings.Atomics
    Annotations
    @JSName(js.Symbol.toStringTag)
  90. def valueOf(): Any
    Definition Classes
    Object
  91. def wait(typedArray: scala.scalajs.js.typedarray.Int32Array, index: Double, value: Double, timeout: Double): |[|[ok, not-equal], timed-out]
  92. def wait(typedArray: scala.scalajs.js.typedarray.Int32Array, index: Double, value: Double): |[|[ok, not-equal], timed-out]

    If the value at the given position in the array is equal to the provided value, the current agent is put to sleep causing execution to suspend until the timeout expires (returning "timed-out") or until the agent is awoken (returning "ok"); otherwise, returns "not-equal".

  93. def wait(typedArray: BigInt64Array, index: Double, value: scala.scalajs.js.BigInt, timeout: Double): |[|[ok, not-equal], timed-out]
  94. def wait(typedArray: BigInt64Array, index: Double, value: scala.scalajs.js.BigInt): |[|[ok, not-equal], timed-out]

    If the value at the given position in the array is equal to the provided value, the current agent is put to sleep causing execution to suspend until the timeout expires (returning "timed-out") or until the agent is awoken (returning "ok"); otherwise, returns "not-equal".

  95. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  96. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  97. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  98. def xor(typedArray: scala.scalajs.js.typedarray.Uint8Array, index: Double, value: Double): Double
  99. def xor(typedArray: scala.scalajs.js.typedarray.Uint32Array, index: Double, value: Double): Double
  100. def xor(typedArray: scala.scalajs.js.typedarray.Uint16Array, index: Double, value: Double): Double
  101. def xor(typedArray: scala.scalajs.js.typedarray.Int8Array, index: Double, value: Double): Double

    Stores the bitwise XOR of a value with the value at the given position in the array, returning the original value.

    Stores the bitwise XOR of a value with the value at the given position in the array, returning the original value. Until this atomic operation completes, any other read or write operation against the array will block.

  102. def xor(typedArray: scala.scalajs.js.typedarray.Int32Array, index: Double, value: Double): Double
  103. def xor(typedArray: scala.scalajs.js.typedarray.Int16Array, index: Double, value: Double): Double
  104. def xor(typedArray: BigUint64Array, index: Double, value: scala.scalajs.js.BigInt): scala.scalajs.js.BigInt
  105. def xor(typedArray: BigInt64Array, index: Double, value: scala.scalajs.js.BigInt): scala.scalajs.js.BigInt

    Stores the bitwise XOR of a value with the value at the given position in the array, returning the original value.

    Stores the bitwise XOR of a value with the value at the given position in the array, returning the original value. Until this atomic operation completes, any other read or write operation against the array will block.

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from StObject

Inherited from scala.scalajs.js.Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped