Parent directory

synchronization_util.c

504 bytes
 1// Copyright 2023 Sergey Vlasov (@sigprof)
 2// SPDX-License-Identifier: GPL-2.0-or-later
 3
 4#include "synchronization_util.h"
 5
 6// Generate out-of-line copies for inline functions defined in synchronization_util.h.
 7
 8#if !defined(PLATFORM_SUPPORTS_SYNCHRONIZATION)
 9#    if defined(SPLIT_KEYBOARD)
10extern inline void split_shared_memory_lock(void);
11extern inline void split_shared_memory_unlock(void);
12#    endif
13#endif
14
15#if defined(SPLIT_KEYBOARD)
16QMK_IMPLEMENT_AUTOUNLOCK_HELPERS(split_shared_memory)
17#endif