Skip to content

Commit

Permalink
pw_sync_baremetal: Fix aliases and add missing include
Browse files Browse the repository at this point in the history
Change-Id: Ia020afa8a80082937e748ec27b59cce09319e2e7
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/102560
Pigweed-Auto-Submit: Wyatt Hepler <[email protected]>
Commit-Queue: Auto-Submit <[email protected]>
Reviewed-by: Ewout van Bekkum <[email protected]>
  • Loading branch information
255 authored and CQ Bot Account committed Jul 18, 2022
1 parent 1554801 commit 4c9b8e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
// the License.
#pragma once

#include <limits>

#include "pw_assert/assert.h"
#include "pw_sync/recursive_mutex.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

namespace pw::sync::backend {

using NativeMutex = std::atomic<int>;
using NativeMutexHandle = std::atomic<int>&;
using NativeRecursiveMutex = std::atomic<int>;
using NativeRecursiveMutexHandle = std::atomic<int>&;

} // namespace pw::sync::backend

0 comments on commit 4c9b8e6

Please sign in to comment.