pub unsafe extern "C" fn spin_lock_create() -> *mut crate::binary::c_types::c_void {
    let ptr = crate::compat::common::sem_create(1, 1);

    trace!("spin_lock_create {:?}", ptr);
    ptr as *mut crate::binary::c_types::c_void
}
**************************************************************************
Name: esp_spin_lock_create

Description:
Create spin lock in SMP mode

Input Parameters:
None

Returned Value:
Spin lock data pointer

*************************************************************************
esp-wifi/src/wifi/os_adapter.rs