]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
kr_rplan_pop(): avoid reordering kr_rplan::pending
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 14 Jan 2019 11:45:02 +0000 (12:45 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 14 Jan 2019 11:54:29 +0000 (12:54 +0100)
commit288cca5b3b5e3bdeabf0e790a75f81e29dcdb969
tree2645027fc4f203ebf8d11ae9fa0f65cbf7a056d0
parent72e13048eabe989c86731787a48a813848b101de
kr_rplan_pop(): avoid reordering kr_rplan::pending

- It's not ideal, but this will need significant overhaul anyway when
  "parallel queries" get implemented.
- I didn't put this into array.h, as we don't seem likely to need it
  anywhere else and implementation in macros would be ugly.
- It's unclear whether this "bug" could cause anything in practice.
lib/rplan.c
lib/rplan.h