Libraries
bignum
binary
bitmap
ble
bytes
core
collections
comparable
entry
exceptions
finalization
numbers
objects
print
process
string
task
time
timer
utils
crypto
device
encoding
esp32
expect
fixed-point
flash
font
gpio
i2c
i2s
icons
io
line-wrap
log
math
monitor
net
pulse-counter
reader
reader-writer
rmt
serial
spi
statistics
system
tls
uart
uuid
writer
zlib
Interface Process
Interface summary
Constructors
Statics
Methods
Fields
PRIORITY-IDLE
->
int
PRIORITY-LOW
->
int
PRIORITY-NORMAL
->
int
PRIORITY-HIGH
->
int
PRIORITY-CRITICAL
->
int
current
->
any
The current process.
Statics
current
->
any
The current process.
PRIORITY-CRITICAL
->
int
PRIORITY-HIGH
->
int
PRIORITY-IDLE
->
int
PRIORITY-LOW
->
int
PRIORITY-NORMAL
->
int
Methods
id
->
int
Returns the unique id of the process.
priority
->
int
Returns the priority of the process.
The priority is between 0 and 255 and a high priority means that the process is more likely to be scheduled and less likely to be interrupted.
Throws an exception if the process no longer lives.
priority=
priority/
int
->
none
Updates the priority of the process.
The
priority
must be between 0 and 255 and a high priority means that the process is more likely to be scheduled and less likely to be interrupted.
Throws an exception if the process no longer lives.