]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Move DAP JSON reader to its own thread
authorTom Tromey <tromey@adacore.com>
Tue, 7 Nov 2023 16:23:47 +0000 (09:23 -0700)
committerTom Tromey <tromey@adacore.com>
Mon, 11 Dec 2023 18:44:19 +0000 (11:44 -0700)
commitf895e1592d5f4e58776e6a2d7ccdcc028cc5df80
tree715b010abd067eca88491138a0acd3ac3b19e360
parent080530d8b6c3be802c53c0bb8a84032f355c2380
Move DAP JSON reader to its own thread

This changes the DAP server to move the JSON reader to a new thread.
This is key to implementing request cancellation, as now requests can
be read while an earlier one is being serviced.

Reviewed-By: Kévin Le Gouguec <legouguec@adacore.com>
gdb/python/lib/gdb/dap/server.py