piker/piker
Tyler Goodlet 7d8202a63c 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.
2021-11-03 09:09:02 -04:00
..
brokers Wait for a last price tick before delivering quote 2021-10-29 09:31:06 -04:00
clearing Add some type annots around pp msg handling 2021-11-03 08:58:44 -04:00
cli Move config module to top level 2021-09-06 21:26:28 -04:00
data Fix shm index update race 2021-11-03 09:09:02 -04:00
fsp Add first draft of "dollar volume" fsp 2021-11-03 09:09:02 -04: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 2021-11-03 09:09:02 -04: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 No longer feed specific 2021-09-06 09:28:11 -04: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