|
@@ -39,6 +39,9 @@
|
|
|
|
|
|
|
|
|
|
#ifdef __UCLIBC_HAS_THREADS__
|
|
#ifdef __UCLIBC_HAS_THREADS__
|
|
|
|
+extern void __stdio_init_mutex(__UCLIBC_MUTEX_TYPE *m) attribute_hidden;
|
|
|
|
+
|
|
|
|
+extern volatile int _stdio_openlist_use_count attribute_hidden; /* _stdio_openlist_del_lock */
|
|
#define __STDIO_OPENLIST_INC_USE \
|
|
#define __STDIO_OPENLIST_INC_USE \
|
|
do { \
|
|
do { \
|
|
__STDIO_THREADLOCK_OPENLIST_DEL; \
|
|
__STDIO_THREADLOCK_OPENLIST_DEL; \
|
|
@@ -51,6 +54,7 @@ extern void _stdio_openlist_dec_use(void) attribute_hidden;
|
|
#define __STDIO_OPENLIST_DEC_USE \
|
|
#define __STDIO_OPENLIST_DEC_USE \
|
|
_stdio_openlist_dec_use()
|
|
_stdio_openlist_dec_use()
|
|
|
|
|
|
|
|
+extern int _stdio_openlist_del_count attribute_hidden; /* _stdio_openlist_del_lock */
|
|
#define __STDIO_OPENLIST_INC_DEL_CNT \
|
|
#define __STDIO_OPENLIST_INC_DEL_CNT \
|
|
do { \
|
|
do { \
|
|
__STDIO_THREADLOCK_OPENLIST_DEL; \
|
|
__STDIO_THREADLOCK_OPENLIST_DEL; \
|