Packages

object AsyncVar

Source
AsyncVar.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AsyncVar
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply[A](initial: A, ps: PaddingStrategy = NoPadding): AsyncVar[A]

    Builds an AsyncVar instance with an initial value.

    Builds an AsyncVar instance with an initial value.

    initial

    is the initial value, this var being initialized full; see empty for the alternative

    ps

    is an optional padding strategy for avoiding the "false sharing problem", a common JVM effect when multiple threads read and write in shared variables

  2. def empty[A](ps: PaddingStrategy = NoPadding): AsyncVar[A]

    Returns an empty AsyncVar instance.

    Returns an empty AsyncVar instance.

    ps

    is an optional padding strategy for avoiding the "false sharing problem", a common JVM effect when multiple threads read and write in shared variables