diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-07-28 10:47:59 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-07-28 10:54:34 -0400 |
commit | 26f3c379c1603ebdc35d1653b677b9e22685fd81 (patch) | |
tree | 7767d85b72bd46fe5bd8de772c453f0654fb780a /src/ioq.c | |
parent | a12c4dbf12f5dff559abc4464b905842031696da (diff) | |
download | bfs-26f3c379c1603ebdc35d1653b677b9e22685fd81.tar.xz |
prelude: Simplify attributes
Diffstat (limited to 'src/ioq.c')
-rw-r--r-- | src/ioq.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -263,7 +263,7 @@ static struct ioq_monitor *ioq_slot_monitor(struct ioqq *ioqq, ioq_slot *slot) { } /** Atomically wait for a slot to change. */ -attr(noinline) +_noinline static uintptr_t ioq_slot_wait(struct ioqq *ioqq, ioq_slot *slot, uintptr_t value) { struct ioq_monitor *monitor = ioq_slot_monitor(ioqq, slot); mutex_lock(&monitor->mutex); @@ -293,7 +293,7 @@ done: } /** Wake up any threads waiting on a slot. */ -attr(noinline) +_noinline static void ioq_slot_wake(struct ioqq *ioqq, ioq_slot *slot) { struct ioq_monitor *monitor = ioq_slot_monitor(ioqq, slot); |