esp-idf/components/newlib
Marius Vikhammer 6fb996b1ac newlib: revert back from spinlocks to using newlib locks for time.h
Spinlocks from spinlock.h do not disable the scheduler and thus cannot safely
be directly used as a locking mechanism. A task holding the lock can get
pre-empted, and at that point the new running task will also be allowed to
take the spinlock and access whatever it was protecting.

Another issue is that the task holding a spinlock could migrate to a different
core which in turn would cause the application to fail asserts. The current
implementation assumes the core that takes the lock is also the core that
releases it.

Closes https://github.com/espressif/esp-idf/issues/5762
2020-09-03 09:56:02 +08:00
..
platform_include newlib: separate low-level code in time.c implementation 2020-08-10 15:11:37 +08:00
port newlib: revert back from spinlocks to using newlib locks for time.h 2020-09-03 09:56:02 +08:00
priv_include newlib: separate low-level code in time.c implementation 2020-08-10 15:11:37 +08:00
test newlib: separate low-level code in time.c implementation 2020-08-10 15:11:37 +08:00
.gitignore Initial public version 2016-08-17 23:08:22 +08:00
.gitmodules Initial public version 2016-08-17 23:08:22 +08:00
abort.c esp_system: share abort panic with port layer 2020-03-10 19:56:24 +08:00
CMakeLists.txt esp_system: introduce system time functions 2020-08-10 15:12:38 +08:00
component.mk newlib: separate low-level code in time.c implementation 2020-08-10 15:11:37 +08:00
COPYING.NEWLIB Initial public version 2016-08-17 23:08:22 +08:00
esp32-spiram-rom-functions-c.lf newlib: when compiling with GCC8, use newlib headers and libraries from toolchain 2019-04-10 13:52:30 +08:00
heap.c newlib: reverted support of memalign function 2020-01-10 10:05:28 -03:00
Kconfig Rename Kconfig options (components/esp32) 2019-05-21 09:09:01 +02:00
locks.c freertos: moved all xtensa specific files into a separated folder 2020-01-27 16:05:30 -03:00
Makefile.old Initial public version 2016-08-17 23:08:22 +08:00
newlib.lf newlib: move abort to newlib 2020-03-10 19:56:24 +08:00
poll.c newlib: remove direct dependencies on VFS functions 2020-03-20 13:43:42 +01:00
pthread.c asio: updated ASIO port to use latest asio and esp-idf features 2020-01-09 21:53:50 +01:00
random.c esp32: Add esp_fill_random() function 2018-09-03 04:39:45 +00:00
reent_init.c tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
syscall_table.c newlib: initialize syscall_table_ptr_app in single core mode 2020-05-04 10:55:34 +00:00
syscalls.c esp_rom: extract common uart apis into esp_rom_uart.h 2020-07-17 16:00:59 +08:00
termios.c VFS: Fix Kconfig prefix 2019-07-02 17:17:18 +02:00
time.c newlib: revert back from spinlocks to using newlib locks for time.h 2020-09-03 09:56:02 +08:00