create MultiPriorityPicker which can mutually-exclusively select M outputs from
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 17 Mar 2020 17:57:48 +0000 (17:57 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 17 Mar 2020 17:57:48 +0000 (17:57 +0000)
commit9b2a6304989519a3edce217b1f55432095e9cac9
tree5ad62176499731c2556d4f8454cf8f5fb18096d9
parent55d2673359c6a9f007012a8da96f70200895e2d4
create MultiPriorityPicker which can mutually-exclusively select M outputs from
Mx N-way inputs
to be used for example to ensure that M "things" seeking access to M
"other things" do not conflict: that only one "thing" at a time gets access
to the
other "things"
src/nmutil/latch.py
src/nmutil/picker.py