Skip to content

Commit

Permalink
mem: add error about missing locking (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh authored Apr 26, 2022
1 parent e94a639 commit 37a1d6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mem/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ static inline void mem_unlock(void)

#else

#error "mem: missing locking primitives"

#define mem_lock() /**< Stub */
#define mem_unlock() /**< Stub */

Expand Down

0 comments on commit 37a1d6a

Please sign in to comment.