Introduce run_on_main_thread
authorTom Tromey <tom@tromey.com>
Fri, 8 Mar 2019 22:51:06 +0000 (15:51 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 26 Nov 2019 21:02:57 +0000 (14:02 -0700)
commit9411c49ecc09df989ecddb05e1756e0a9da0d1c8
tree4dd8b5100ccc851fddfcdf95062dd5a6b4578aa6
parentc3efb9654847822620010922cb7ea61e8901479c
Introduce run_on_main_thread

This introduces a way for a callback to be run on the main thread.

gdb/ChangeLog
2019-11-26  Tom Tromey  <tom@tromey.com>

* run-on-main-thread.c: New file.
* run-on-main-thread.h: New file.
* unittests/main-thread-selftests.c: New file.
* Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
main-thread-selftests.c.
(HFILES_NO_SRCDIR): Add run-on-main-thread.h.
(COMMON_SFILES): Add run-on-main-thread.c.

Change-Id: I16ef82f0564e9f8a524bdc64cb31df79a988ad9f
gdb/ChangeLog
gdb/Makefile.in
gdb/run-on-main-thread.c [new file with mode: 0644]
gdb/run-on-main-thread.h [new file with mode: 0644]
gdb/unittests/main-thread-selftests.c [new file with mode: 0644]
This page took 0.024658 seconds and 4 git commands to generate.