PicoSDK
mutex::core
is only used within PicoSDK.
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
Raspberry Pi Pico SDK and Examples
PicoSDK
mutex::core
mutex::core field
Syntax
Show:
Summary
Declaration
from
mutex.h:61
lock_core_t
core
;
Examples
References
from
examples
Code
Location
Referrer
lock_core_t
core
;
mutex.h:61
static_assert
(
!
offsetof
(
mutex_t
,
core
)
,
""
)
;
mutex.c:19
runtime_init_mutex()
l
=
&
m
[
1
]
.
core
;
// next
mutex.c:33
runtime_init_mutex()
lock_init
(
&
mtx
->
core
,
next_striped_spin_lock_num
(
)
)
;
mutex.c:44
mutex_init()
uint32_t
save
=
spin_lock_blocking
(
mtx
->
core
.
spin_lock
)
;
mutex.c:71
mutex_enter_blocking()
spin_unlock
(
mtx
->
core
.
spin_lock
,
save
)
;
mutex.c:74
mutex_enter_blocking()
lock_internal_spin_unlock_with_wait
(
&
mtx
->
core
,
save
)
;
mutex.c:77
mutex_enter_blocking()
uint32_t
save
=
spin_lock_blocking
(
mtx
->
core
.
spin_lock
)
;
mutex.c:104
mutex_try_enter()
spin_unlock
(
mtx
->
core
.
spin_lock
,
save
)
;
mutex.c:112
mutex_try_enter()
assert
(
mtx
->
core
.
spin_lock
)
;
mutex.c:166
mutex_enter_block_until()
uint32_t
save
=
spin_lock_blocking
(
mtx
->
core
.
spin_lock
)
;
mutex.c:169
mutex_enter_block_until()
spin_unlock
(
mtx
->
core
.
spin_lock
,
save
)
;
mutex.c:172
mutex_enter_block_until()
if
(
lock_internal_spin_unlock_with_best_effort_wait_or_timeout
(
&
mtx
->
core
,
save
,
until
)
)
{
mutex.c:175
mutex_enter_block_until()
uint32_t
save
=
spin_lock_blocking
(
mtx
->
core
.
spin_lock
)
;
mutex.c:212
mutex_exit()
lock_internal_spin_unlock_with_notify
(
&
mtx
->
core
,
save
)
;
mutex.c:215
mutex_exit()
return
mtx
->
core
.
spin_lock
!=
0
;
mutex.h:249
mutex_is_initialized()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mutex::core
is read by 5 functions:
All items filtered out
mutex::core
mutex_is_initialized()
mutex_enter_blocking()
mutex_try_enter()
mutex_enter_block_until()
mutex_exit()
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