diff options
Diffstat (limited to 'qemu-thread-posix.c')
-rw-r--r-- | qemu-thread-posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-thread-posix.c b/qemu-thread-posix.c index 9e1b5fbdaa..8fbabdac36 100644 --- a/qemu-thread-posix.c +++ b/qemu-thread-posix.c @@ -151,7 +151,7 @@ void qemu_thread_get_self(QemuThread *thread) thread->thread = pthread_self(); } -int qemu_thread_is_self(QemuThread *thread) +bool qemu_thread_is_self(QemuThread *thread) { return pthread_equal(pthread_self(), thread->thread); } |