firmware
IEM Firmware Documentation
Loading...
Searching...
No Matches
newlib library locks
Collaboration diagram for newlib library locks:

Functions

void __malloc_lock ()
 Acquire malloc lock.
void __malloc_unlock ()
 Release malloc lock.
void __env_lock (struct _reent *reent)
 Acquire env lock.
void __env_unlock (struct _reent *reent)
 Release env lock.
void __tz_lock ()
 Acquire tz lock.
void __tz_unlock ()
 Release tz lock.

Variables

static LockingData_t __lock___malloc_recursive_mutex = LOCKING_DATA_INIT
static LockingData_t __lock___env_recursive_mutex = LOCKING_DATA_INIT
static LockingData_t __lock___tz_mutex = LOCKING_DATA_INIT

Detailed Description

See also
https://sourceware.org/newlib/libc.html

Function Documentation

◆ __env_lock()

void __env_lock ( struct _reent * reent)

Acquire env lock.

Parameters
reentThe reentrance struct
Here is the call graph for this function:

◆ __env_unlock()

void __env_unlock ( struct _reent * reent)

Release env lock.

Parameters
reentThe reentrance struct
Here is the call graph for this function:

◆ __malloc_lock()

void __malloc_lock ( )

Acquire malloc lock.

Here is the call graph for this function:

◆ __malloc_unlock()

void __malloc_unlock ( )

Release malloc lock.

Here is the call graph for this function:

◆ __tz_lock()

void __tz_lock ( )

Acquire tz lock.

Here is the call graph for this function:

◆ __tz_unlock()

void __tz_unlock ( )

Release tz lock.

Here is the call graph for this function:

Variable Documentation

◆ __lock___env_recursive_mutex

LockingData_t __lock___env_recursive_mutex = LOCKING_DATA_INIT
static

Mutex used in __env_lock and __env_unlock

◆ __lock___malloc_recursive_mutex

LockingData_t __lock___malloc_recursive_mutex = LOCKING_DATA_INIT
static

Mutex used in __malloc_lock and __malloc_unlock

◆ __lock___tz_mutex

LockingData_t __lock___tz_mutex = LOCKING_DATA_INIT
static

Mutex used in __tz_lock and __tz_unlock