Pass command to DoCommand through global command queue
authorH.G.Muller <hgm@hgm-xboard.(none)>
Fri, 7 Dec 2018 22:02:48 +0000 (23:02 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Fri, 7 Dec 2018 22:02:48 +0000 (23:02 +0100)
commit0bcc18ddfe1e849b345a565850e2a14cdab30d1a
tree8cfc9dbfa446c66026f45d61b0c6f434b4447801
parentf9b3d49480bbbf3200dde21ca58dcd5ae41bcfa1
Pass command to DoCommand through global command queue

Rather than passing the command to process as a parameter to DoCommand,
we now append it to a global 'command queue', from which DoCommand() then
reads the first line. This in preparation for letting the engine thread
handle the difficult commands.
UCI2WB.c