esp-idf/components/spi_flash/sim/stubs/newlib/include/sys/lock.h

18 lines
241 B
C
Raw Normal View History

#pragma once
#ifdef __cplusplus
extern "C" {
#endif
typedef int _lock_t;
void _lock_acquire(_lock_t *lock);
void _lock_close(_lock_t *lock);
void _lock_init(_lock_t *lock);
void _lock_release(_lock_t *lock);
#ifdef __cplusplus
}
#endif