ESP-IDF
s_task_queue_event_fd
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
s_task_queue_event_fd
s_task_queue_event_fd variable
Syntax
Show:
Summary
Declaration
from
esp_openthread_task_queue.c:21
static
int
s_task_queue_event_fd
=
-
1
;
Examples
References
from
examples
Code
Location
Referrer
static
int
s_task_queue_event_fd
=
-
1
;
esp_openthread_task_queue.c:21
s_task_queue_event_fd
=
eventfd
(
0
,
EFD_SUPPORT_ISR
)
;
esp_openthread_task_queue.c:33
esp_openthread_task_queue_init()
ESP_RETURN_ON_FALSE
(
s_task_queue_event_fd
>=
0
,
ESP_FAIL
,
OT_PLAT_LOG_TAG
,
esp_openthread_task_queue.c:34
esp_openthread_task_queue_init()
ret
=
write
(
s_task_queue_event_fd
,
&
val
,
sizeof
(
val
)
)
;
esp_openthread_task_queue.c:47
otTaskletsSignalPending()
ret
=
write
(
s_task_queue_event_fd
,
&
val
,
sizeof
(
val
)
)
;
esp_openthread_task_queue.c:68
esp_openthread_task_queue_post()
if
(
s_task_queue_event_fd
>=
0
)
{
esp_openthread_task_queue.c:79
esp_openthread_task_queue_update()
FD_SET
(
s_task_queue_event_fd
,
&
mainloop
->
read_fds
)
;
esp_openthread_task_queue.c:80
esp_openthread_task_queue_update()
if
(
s_task_queue_event_fd
>
mainloop
->
max_fd
)
{
esp_openthread_task_queue.c:81
esp_openthread_task_queue_update()
mainloop
->
max_fd
=
s_task_queue_event_fd
;
esp_openthread_task_queue.c:82
esp_openthread_task_queue_update()
if
(
FD_ISSET
(
s_task_queue_event_fd
,
&
mainloop
->
read_fds
)
)
{
esp_openthread_task_queue.c:91
esp_openthread_task_queue_process()
ssize_t
ret
=
read
(
s_task_queue_event_fd
,
&
val
,
sizeof
(
val
)
)
;
esp_openthread_task_queue.c:93
esp_openthread_task_queue_process()
if
(
s_task_queue_event_fd
>=
0
)
{
esp_openthread_task_queue.c:112
esp_openthread_task_queue_deinit()
close
(
s_task_queue_event_fd
)
;
esp_openthread_task_queue.c:113
esp_openthread_task_queue_deinit()
s_task_queue_event_fd
=
-
1
;
esp_openthread_task_queue.c:114
esp_openthread_task_queue_deinit()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
s_task_queue_event_fd
is written by 2 functions and is read by 6 functions:
esp_openthread_task_queue_init()
esp_openthread_task_queue_deinit()
All items filtered out
s_task_queue_event_fd
esp_openthread_task_queue_init()
otTaskletsSignalPending()
esp_openthread_task_queue_post()
esp_openthread_task_queue_update()
esp_openthread_task_queue_process()
esp_openthread_task_queue_deinit()
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
All items filtered out
All items filtered out