NullMcas

dev.tauri.choam.internal.mcas.NullMcas
object NullMcas

This is a very limited MCAS implementation, which can only perform *empty* MCAS operations (i.e., not even reading is implemented). All other operations throw an UnsupportedOperationException.

It can be useful in special cases (for low-level optimization), when it is necessary to immediately execute a Rxn which is known not to actually do any k-CASes.

Attributes

Source
NullMcas.scala
Graph
Supertypes
trait Mcas
class Object
trait Matchable
class Any
Self type
NullMcas.type

Members list

Value members

Concrete methods

final override def currentContext(): ThreadContext

Returns the context associated with the current thread

Returns the context associated with the current thread

Attributes

Definition Classes
Source
NullMcas.scala