Spdk/include
Mike Gerdts 80ab43ae97 thread: detect spinlocks that are not initialized
If spdk_spin_lock() is called on an uninitialized spinlock, it will
deadlock. This commit detects whether a lock is initialized and aborts
instead of deadlocking.

Signed-off-by: Mike Gerdts <mgerdts@nvidia.com>
Change-Id: Ie7497633091edd4127c06ca0530e9a1dff530d1b
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16002
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2023-05-09 17:58:11 +08:00
..
linux check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
spdk thread: detect spinlocks that are not initialized 2023-05-09 17:58:11 +08:00
spdk_internal usdt: add SPDK_DTRACE_PROBE variants that don't collect ticks 2023-05-09 17:58:11 +08:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00