projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ODR warnings for "struct insn_info"
[binutils-gdb.git]
/
gdb
/
run-on-main-thread.h
diff --git
a/gdb/run-on-main-thread.h
b/gdb/run-on-main-thread.h
index 0bfe0b7456a9240021a7c052587c08960d8a2121..888328e7a5163a2080acc01df0a4daf8a27649d8 100644
(file)
--- a/
gdb/run-on-main-thread.h
+++ b/
gdb/run-on-main-thread.h
@@
-25,4
+25,8
@@
extern void run_on_main_thread (std::function<void ()> &&);
+/* Return true on the main thread. */
+
+extern bool is_main_thread ();
+
#endif /* GDB_RUN_ON_MAIN_THREAD_H */