ESP-IDF
osi_thread
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
osi_thread
osi_thread struct
Syntax
Show:
Summary
Declaration
Definition
from
thread.h:20
struct
osi_thread
;
Implemented in
thread.c:38
Fields
Field
Declared as
Description
osi_thread::thread_handle
TaskHandle_t
Store the thread object.
osi_thread::thread_id
int
May for some OS, such as Linux.
osi_thread::stop
bool
osi_thread::work_queue_num
uint8_t
Work queue number.
osi_thread::work_queues
struct
work_queue
*
*
Point to queue array, and the priority inverse array index.
osi_thread::work_sem
osi_sem_t
osi_thread::stop_sem
osi_sem_t
Related Functions
Found 9 other functions taking a
osi_thread
argument:
Function
osi_thread_post()
osi_event_bind()
osi_thread_free()
osi_thread_queue_wait_size()
osi_thread_set_priority()
osi_thread_name()
osi_thread_join()
osi_thread_stop()
hci_hal_env_init()
Examples
References
from
examples
Code
Location
Scope
Referrer
struct
osi_thread
{
thread.c:38
typedef
struct
osi_thread
osi_thread_t
;
thread.h:23
struct
osi_thread
;
thread.h:20
osi_thread_t
*
btc_aa_snk_task_hdl
;
btc_a2dp_sink.c:110
a2dp_sink_local_param_t
a2dp_sink_local_param_t::btc_aa_snk_task_hdl
osi_thread_t
*
btc_aa_src_task_hdl
;
btc_a2dp_source.c:169
a2dp_source_local_param_t
a2dp_source_local_param_t::btc_aa_src_task_hdl
osi_thread_t
*
btc_thread
;
btc_task.c:98
osi_thread_t
*
btc_get_current_thread
(
void
)
btc_task.c:564
btc_get_current_thread()
osi_thread_t
*
btc_get_current_thread
(
void
)
;
btc_task.h:154
btc_get_current_thread()
osi_thread_t
*
btu_get_current_thread
(
void
)
;
btu.h:304
btu_get_current_thread()
osi_thread_t
*
btu_thread
=
NULL
;
btu_init.c:66
osi_thread_t
*
btu_get_current_thread
(
void
)
btu_init.c:273
btu_get_current_thread()
osi_thread_t
*
hci_h4_thread
;
hci_hal_h4.c:84
hci_hal_env_t
hci_hal_env_t::hci_h4_thread
static
bool
hci_hal_env_init
(
const
hci_hal_callbacks_t
*
upper_callbacks
,
osi_thread_t
*
task_thread
)
hci_hal_h4.c:105
hci_hal_env_init()
hci_hal_env_init()::task_thread
hci_hal_env_init
(
upper_callbacks
,
(
osi_thread_t
*
)
task_thread
)
;
hci_hal_h4.c:173
hal_open()
static
osi_thread_t
*
hci_host_thread
;
hci_layer.c:82
osi_thread_t
*
thread
;
thread.c:49
osi_thread_start_arg
osi_thread_start_arg::thread
osi_thread_t
*
thread
;
thread.c:59
osi_event
osi_event::thread
osi_thread_t
*
thread
=
start
->
thread
;
thread.c:149
osi_thread_run()
static
int
osi_thread_join
(
osi_thread_t
*
thread
,
uint32_t
wait_ms
)
thread.c:180
osi_thread_join()
osi_thread_join()::thread
static
void
osi_thread_stop
(
osi_thread_t
*
thread
)
thread.c:186
osi_thread_stop()
osi_thread_stop()::thread
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_create()
osi_thread_t
*
thread
=
(
osi_thread_t
*
)
osi_calloc
(
sizeof
(
osi_thread_t
)
)
;
thread.c:217
osi_thread_create()
osi_free
(
thread
)
;
thread.c:293
osi_thread_create()
void
osi_thread_free
(
osi_thread_t
*
thread
)
thread.c:299
osi_thread_free()
osi_thread_free()::thread
osi_free
(
thread
)
;
thread.c:327
osi_thread_free()
bool
osi_thread_post
(
osi_thread_t
*
thread
,
osi_thread_func_t
func
,
void
*
context
,
int
queue_idx
,
uint32_t
timeout
)
thread.c:330
osi_thread_post()
osi_thread_post()::thread
bool
osi_thread_set_priority
(
osi_thread_t
*
thread
,
int
priority
)
thread.c:353
osi_thread_set_priority()
osi_thread_set_priority()::thread
const
char
*
osi_thread_name
(
osi_thread_t
*
thread
)
thread.c:361
osi_thread_name()
osi_thread_name()::thread
int
osi_thread_queue_wait_size
(
osi_thread_t
*
thread
,
int
wq_idx
)
thread.c:368
osi_thread_queue_wait_size()
osi_thread_queue_wait_size()::thread
bool
osi_event_bind
(
struct
osi_event
*
event
,
osi_thread_t
*
thread
,
int
queue_idx
)
thread.c:402
osi_event_bind()
osi_event_bind()::thread
typedef
struct
osi_thread
osi_thread_t
;
thread.h:23
osi_thread_t
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
osi_thread_create()
void
osi_thread_free
(
osi_thread_t
*
thread
)
;
thread.h:48
osi_thread_free()
osi_thread_free()::thread
bool
osi_thread_post
(
osi_thread_t
*
thread
,
osi_thread_func_t
func
,
void
*
context
,
int
queue_idx
,
uint32_t
timeout
)
;
thread.h:59
osi_thread_post()
osi_thread_post()::thread
bool
osi_thread_set_priority
(
osi_thread_t
*
thread
,
int
priority
)
;
thread.h:67
osi_thread_set_priority()
osi_thread_set_priority()::thread
const
char
*
osi_thread_name
(
osi_thread_t
*
thread
)
;
thread.h:73
osi_thread_name()
osi_thread_name()::thread
int
osi_thread_queue_wait_size
(
osi_thread_t
*
thread
,
int
wq_idx
)
;
thread.h:80
osi_thread_queue_wait_size()
osi_thread_queue_wait_size()::thread
bool
osi_event_bind
(
struct
osi_event
*
event
,
osi_thread_t
*
thread
,
int
queue_idx
)
;
thread.h:102
osi_event_bind()
osi_event_bind()::thread
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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
Instance
Scope
Location
Project
return
osi_thread_create()
thread.h:42
osi_thread_free()::thread
osi_thread_free()
thread.h:48
osi_thread_post()::thread
osi_thread_post()
thread.h:59
osi_thread_set_priority()::thread
osi_thread_set_priority()
thread.h:67
osi_thread_name()::thread
osi_thread_name()
thread.h:73
osi_thread_queue_wait_size()::thread
osi_thread_queue_wait_size()
thread.h:80
osi_event_bind()::thread
osi_event_bind()
thread.h:102
osi_thread_start_arg::thread
osi_thread_start_arg
thread.c:49
osi_event::thread
osi_event
thread.c:59
osi_thread_join()::thread
osi_thread_join()
thread.c:180
osi_thread_stop()::thread
osi_thread_stop()
thread.c:186
return
osi_thread_create()
thread.c:206
osi_thread_free()::thread
osi_thread_free()
thread.c:299
osi_thread_post()::thread
osi_thread_post()
thread.c:330
osi_thread_set_priority()::thread
osi_thread_set_priority()
thread.c:353
osi_thread_name()::thread
osi_thread_name()
thread.c:361
osi_thread_queue_wait_size()::thread
osi_thread_queue_wait_size()
thread.c:368
osi_event_bind()::thread
osi_event_bind()
thread.c:402
return
btc_get_current_thread()
btc_task.h:154
btc_thread
btc_task.c:98
return
btc_get_current_thread()
btc_task.c:564
return
btu_get_current_thread()
btu.h:304
a2dp_sink_local_param_t::btc_aa_snk_task_hdl
a2dp_sink_local_param_t
btc_a2dp_sink.c:110
a2dp_source_local_param_t::btc_aa_src_task_hdl
a2dp_source_local_param_t
btc_a2dp_source.c:169
hci_hal_env_t::hci_h4_thread
hci_hal_env_t
hci_hal_h4.c:84
hci_hal_env_init()::task_thread
hci_hal_env_init()
hci_hal_h4.c:105
hci_host_thread
hci_layer.c:82
btu_thread
btu_init.c:66
return
btu_get_current_thread()
btu_init.c:273
Lifecycle
from
examples
osi_thread
is freed by 2 symbols:
All items filtered out
osi_thread
osi_thread_create()
osi_thread_free()
All items filtered out