mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
9b3796d2f1
Add TRY_ENTRY_CRITICAL() API to all for timeouts when entering critical sections. The following port API were added: - portTRY_ENTER_CRITICAL() - portTRY_ENTER_CRITICAL_ISR() - portTRY_ENTER_CRITICAL_SAFE() Deprecated legacy spinlock API in favor of spinlock.h. The following API were deprecated: - vPortCPUInitializeMutex() - vPortCPUAcquireMutex() - vPortCPUAcquireMutexTimeout() - vPortCPUReleaseMutex() Other Changes: - Added portMUX_INITIALIZE() to replace vPortCPUInitializeMutex() - The assembly of the critical section functions ends up being about 50 instructions longer, thus the spinlock test pass threshold had to be increased to account for the extra runtime. Closes https://github.com/espressif/esp-idf/issues/5301 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
test_context_save_clobber.c | ||
test_context_save_clobber.S | ||
test_float_in_isr.c | ||
test_freertos_backported_functions.c | ||
test_freertos_debug_functions.c | ||
test_freertos_eventgroups.c | ||
test_freertos_get_state.c | ||
test_freertos_isinisrcontext.c | ||
test_freertos_mutex.c | ||
test_freertos_scheduling_round_robin.c | ||
test_freertos_scheduling_time.c | ||
test_freertos_task_delay_until.c | ||
test_freertos_task_delete.c | ||
test_freertos_task_notify.c | ||
test_freertos_trace_utilities.c | ||
test_isr_latency.c | ||
test_legacy_hooks.c | ||
test_newlib_reent.c | ||
test_panic.c | ||
test_preemption.c | ||
test_queuesets.c | ||
test_spinlocks.c | ||
test_stream_buffers.c | ||
test_suspend_scheduler.c | ||
test_task_priorities.c | ||
test_task_suspend_resume.c | ||
test_tasks_snapshot.c | ||
test_thread_local.c | ||
test_timers.c | ||
test_xtensa_loadstore_handler.c |