Module common

Source
Expand description

Common traits and impl.

Modules§

beans
BeanFactory impls.
constants
Constants.
ordered_work_steal
Suppose a thread in a work-stealing scheduler is idle and looking for the next task to run. To find an available task, it might do the following:
work_steal
Suppose a thread in a work-stealing scheduler is idle and looking for the next task to run. To find an available task, it might do the following:

Structs§

CondvarBlocker

Functions§

current_kernel_version
Get current linux kernel version number.
default_red_zone
Recommended read zone size for coroutines.
get_slices
Make the total time into slices.
get_timeout_time
current ns time add dur.
kernel_version
Get linux kernel version number.
now
get the current wall clock in ns
page_size
Get the page size of this system.