diff options
Diffstat (limited to 'runtime/thread.h')
| -rw-r--r-- | runtime/thread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/thread.h b/runtime/thread.h index de0b892f5f..4d5d644f1c 100644 --- a/runtime/thread.h +++ b/runtime/thread.h @@ -244,6 +244,7 @@ class Thread { int delta, AtomicInteger* suspend_barrier, bool for_debugger) + WARN_UNUSED REQUIRES(Locks::thread_suspend_count_lock_); bool RequestCheckpoint(Closure* function) @@ -1276,6 +1277,7 @@ class Thread { int delta, AtomicInteger* suspend_barrier, bool for_debugger) + WARN_UNUSED REQUIRES(Locks::thread_suspend_count_lock_); void RunCheckpointFunction(); |