esp-idf/components/spi_flash/sim/stubs/newlib/include/sys/lock.h
2018-07-23 05:24:33 +00:00

20 lines
260 B
C

#pragma once
#include <time.h>
#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