piker/piker
Tyler Goodlet 9951e1d4c9 Fix shm index update race
There was a lingering issue where the fsp daemon would sync its shm
array with the source data and we'd set the start/end indices to the
same value. Under some races a reader would then read an empty `.array`
which it wasn't expecting. This fixes that as well as tidies up the
`ShmArray.push()` logic and adds a temporary check in `.array` for zero
length if the array hasn't been written yet.

We can now start removing read array length checks in consumer code
and hopefully no more races will show up.

Revert to old shm "last" meaning last row
2022-01-25 07:49:46 -05:00
..
brokers Increases IB api connect timeout to 1s 2022-01-23 18:18:10 -05:00
clearing Can't serialize a `set` on `msgpack` codec 2022-01-14 09:16:34 -05:00
cli Move config module to top level 2021-09-06 21:26:28 -04:00
data Port to new `tractor.trionics.maybe_open_context()` api 2022-01-23 21:01:38 -05:00
fsp Add draft $_vlm doc string 2022-01-24 06:41:00 -05:00
testing Import client for now until we make a proper shim 2018-02-12 10:35:54 -05:00
ui Fix shm index update race 2022-01-25 07:49:46 -05:00
watchlists Add license headers to pertinent files 2020-11-06 12:23:14 -05:00
__init__.py Reminder to remove msgpack-numpy 2021-05-24 12:20:48 -04:00
_cacheables.py Port to new `tractor.trionics.maybe_open_context()` api 2022-01-23 21:01:38 -05:00
_daemon.py Switch imports to new `tractor.trionics` subpkg 2021-11-01 13:22:23 -04:00
_profile.py Add a pyqtgraph profiling toggle to chart CLI 2020-12-29 18:05:36 -05:00
calc.py Add `puterize()` 2021-09-21 15:48:40 -04:00
config.py Append paper account last when loading 2021-09-10 11:35:30 -04:00
log.py Add license headers to pertinent files 2020-11-06 12:23:14 -05:00
trionics.py Start trionics mod with an `async_enter_all` 2022-01-23 19:41:57 -05:00