ESP-IDF
osi_thread_create()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
osi_thread_create()
osi_thread_create() function
Syntax
Show:
Summary
Declaration
Definition
from
thread.h:42
osi_thread_t
*
osi_thread_create
(
const
char
*
name
,
size_t
stack_size
,
int
priority
,
osi_thread_core_t
core
,
uint8_t
work_queue_num
,
const
size_t
work_queue_len
[
]
)
;
Implemented in
thread.c:206
Arguments
Argument
name
stack_size
priority
core
work_queue_num
work_queue_len
Examples
References
from
examples
Code
Location
Referrer
osi_thread_t
*
osi_thread_create
(
const
char
*
name
,
size_t
stack_size
,
int
priority
,
osi_thread_core_t
core
,
uint8_t
work_queue_num
,
const
size_t
work_queue_len
[
]
)
thread.c:206
osi_thread_t
*
osi_thread_create
(
const
char
*
name
,
size_t
stack_size
,
int
priority
,
osi_thread_core_t
core
,
uint8_t
work_queue_num
,
const
size_t
work_queue_len
[
]
)
;
thread.h:42
btc_thread
=
osi_thread_create
(
BTC_TASK_NAME
,
BTC_TASK_STACK_SIZE
,
BTC_TASK_PRIO
,
BTC_TASK_PINNED_TO_CORE
,
btc_task.c:510
btc_init()
btu_thread
=
osi_thread_create
(
BTU_TASK_NAME
,
BTU_TASK_STACK_SIZE
,
BTU_TASK_PRIO
,
BTU_TASK_PINNED_TO_CORE
,
btu_init.c:187
BTU_StartUp()
hci_host_thread
=
osi_thread_create
(
HCI_HOST_TASK_NAME
,
HCI_HOST_TASK_STACK_SIZE
,
HCI_HOST_TASK_PRIO
,
HCI_HOST_TASK_PINNED_TO_CORE
,
hci_layer.c:113
hci_start_up()
Call Tree
from
examples
osi_thread_create()
is called by 3 functions and calls 9 functions:
btc_init()
hci_start_up()
BTU_StartUp()
All items filtered out
osi_thread_create()
free()
xTaskCreatePinnedToCore()
vTaskDelete()
osi_sem_new()
osi_sem_free()
osi_sem_take()
osi_calloc_func()
osi_work_queue_create()
osi_work_queue_delete()
All items filtered out
Data Use
from
examples
osi_thread_create()
reads 10 variables and writes 4 variables:
osi_thread_core_t::OSI_THREAD_CORE_0
osi_thread_core_t::OSI_THREAD_CORE_AFFINITY
osi_thread::thread_handle
osi_thread::work_queue_num
osi_thread::work_queues
osi_thread::work_sem
osi_thread::stop_sem
osi_thread_start_arg::start_sem
DEFAULT_WORK_QUEUE_CAPACITY
osi_thread_run()
All items filtered out
osi_thread_create()
osi_thread::stop
osi_thread::work_queue_num
osi_thread::work_queues
osi_thread_start_arg::thread
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
osi_thread_create()
allocates 1 types:
osi_thread
All items filtered out
osi_thread_create()
All items filtered out