• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2022 The Pigweed Authors
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may not
4# use this file except in compliance with the License. You may obtain a copy of
5# the License at
6#
7#     https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations under
13# the License.
14include_guard(GLOBAL)
15
16include($ENV{PW_ROOT}/pw_build/pigweed.cmake)
17
18# Backend for the pw_sync module's binary semaphore.
19pw_add_backend_variable(pw_sync.binary_semaphore_BACKEND)
20
21# Backend for the pw_sync module's condition variable.
22pw_add_backend_variable(pw_sync.condition_variable_BACKEND)
23
24# Backend for the pw_sync module's counting semaphore.
25pw_add_backend_variable(pw_sync.counting_semaphore_BACKEND)
26
27# Backend for the pw_sync module's mutex.
28pw_add_backend_variable(pw_sync.mutex_BACKEND)
29
30# Backend for the pw_sync module's timed mutex.
31pw_add_backend_variable(pw_sync.timed_mutex_BACKEND)
32
33# Backend for the pw_sync module's recursive mutex.
34pw_add_backend_variable(pw_sync.recursive_mutex_BACKEND)
35
36# Backend for the pw_sync module's interrupt spin lock.
37pw_add_backend_variable(pw_sync.interrupt_spin_lock_BACKEND)
38
39# Backend for the pw_sync module's thread notification.
40pw_add_backend_variable(pw_sync.thread_notification_BACKEND)
41
42# Backend for the pw_sync module's timed thread notification.
43pw_add_backend_variable(pw_sync.timed_thread_notification_BACKEND)
44