Skip to content

Module dev_scheduler_cache.erl

Function Index

latest/2Get the latest assignment from the cache.
list/2Get the assignments for a process.
read/3Get an assignment message from the cache.
read_location/2Read the latest known scheduler location for an address.
write/2Write an assignment message into the cache.
write_location/2Write the latest known scheduler location for an address.

Function Details

latest/2

latest(ProcID, Opts) -> any()

Get the latest assignment from the cache.

list/2

list(ProcID, Opts) -> any()

Get the assignments for a process.

read/3

read(ProcID, Slot, Opts) -> any()

Get an assignment message from the cache.

read_location/2

read_location(Address, Opts) -> any()

Read the latest known scheduler location for an address.

write/2

write(Assignment, Opts) -> any()

Write an assignment message into the cache.

write_location/2

write_location(LocationMsg, Opts) -> any()

Write the latest known scheduler location for an address.