summaryrefslogtreecommitdiff
path: root/platforms/synchronization_util.h
blob: 3730f271db975e2d2dd97884e54e559bbdf24216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2022 Stefan Kerkmann
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#if defined(PLATFORM_SUPPORTS_SYNCHRONIZATION)
#    if defined(SPLIT_KEYBOARD)
void split_shared_memory_lock(void);
void split_shared_memory_unlock(void);
#    endif
#else
inline void split_shared_memory_lock(void){};
inline void split_shared_memory_unlock(void){};
#endif