Class Genode::Cpu_session
Public definitions
Enum
Enum
Enum
Public functions
cancel_blocking
Cancel a currently blocking operation
| Thread_capability |
thread |
Thread to unblock |
create_thread
Create a new thread
| char * |
name |
Name for the thread |
- Return
-
Thread_capability Capability representing the new thread
first
Retrieve thread list of CPU session
The next() function returns an invalid capability if the
specified thread does not exists or if it is the last one
of the CPU session.
kill_thread
Kill an existing thread
| Thread_capability |
thread |
Capability of the thread to kill |
name
Return thread name
| Thread_capability |
thread |
Thread to query |
| char * |
name_dst |
Destination string buffer |
| size_t |
name_len |
Length of destination string buffer |
next
scale_priority
Translate generic priority value to kernel-specific priority levels
| bool |
inverse |
Order of platform priorities, if true pf_prio_limit corresponds to the highest priority, otherwise it refers to the lowest priority. |
- Return
-
unsigned Platform-specific priority value
service_name
set_pager
Set paging capabilities for thread
| Thread_capability |
thread |
Thread to configure |
| Pager_capability |
pager |
Capability used to propagate page faults |
start
Modify instruction and stack pointer of thread - start the
thread
| Thread_capability |
thread |
Thread to start |
| addr_t |
ip |
Initial instruction pointer |
| addr_t |
sp |
Initial stack pointer |
state
Return thread state
| Thread_capability |
thread |
Thread to spy on |
| Thread_state * |
state_dst |
Result |