mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-14 14:30:28 +01:00
If scheduler was running, and lock was an automatic variable (ie stack-allocated) to be initialised by _lock_init*, initialisation could be skipped if the lock variable was non-zero (and lock would be left invalid). In other cases the lock is statically initialised to zero by __LOCK_INIT*
7.7 KiB
7.7 KiB