enum class os_thread_type
Description
//////////////////////////////////////////////////////////////////////// Types of kernel threads registered with the runtime
Declared at: libs/pika/runtime/include/pika/runtime/os_thread_type.hpp:19
Enumerators
| Name | Value | Comment |
|---|---|---|
| unknown | -1 | |
| main_thread | 0 | kernel thread represents main thread |
| worker_thread | 1 | kernel thread is used to schedule pika threads |
| io_thread | 2 | kernel thread can be used for IO operations |
| timer_thread | 3 | kernel is used by timer operations |
| custom_thread | 4 | kernel is registered by the application |