lock.c 519 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * This is a STUB FILE used when compiling ESP-IDF to run tests on the host system.
  7. * The source file used normally for ESP-IDF has the same name but is located elsewhere.
  8. */
  9. #include "sys/lock.h"
  10. void _lock_acquire(_lock_t *lock)
  11. {
  12. return;
  13. }
  14. void _lock_close(_lock_t *lock)
  15. {
  16. return;
  17. }
  18. void _lock_init(_lock_t *lock)
  19. {
  20. return;
  21. }
  22. void _lock_release(_lock_t *lock)
  23. {
  24. return;
  25. }