diff options
Diffstat (limited to 'runtime/thread.h')
-rw-r--r-- | runtime/thread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/thread.h b/runtime/thread.h index a3a4005347..9a4eb97243 100644 --- a/runtime/thread.h +++ b/runtime/thread.h @@ -287,6 +287,9 @@ class Thread { void AssertThreadSuspensionIsAllowable(bool check_locks = true) const; + // Return true if thread suspension is allowable. + bool IsThreadSuspensionAllowable() const; + bool IsDaemon() const { return tls32_.daemon; } |