Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Shorten shm_list key for osx #341

Closed
wants to merge 17 commits into from
Closed

Fix: Shorten shm_list key for osx #341

wants to merge 17 commits into from

Conversation

jaredgoldman
Copy link

No description provided.

goodboy and others added 17 commits October 15, 2022 16:35
More or less a verbatim copy-paste minus some edgy variable naming and
internal `piker` module imports. There is a bunch of OHLC related
defaults that need to be dropped and we need to adjust to an optional
dependence on `numpy` by supporting shared lists as per the mp docs.
First attempt at getting `multiprocessing.shared_memory.ShareableList`
working; we wrap the stdlib type with a readonly attr and a `.key` for
cross-actor lookup. Also, rename all `numpy` specific routines to have
a `ndarray` suffix in the func names.
Demonstrates fixed size frame-oriented reads by the child where the
parent only transmits a "read" stream msg on "frame fill events" such
that the child incrementally reads the shm list data (much like in
a real-time-buffered streaming system).
@goodboy goodboy mentioned this pull request Oct 26, 2022
@jaredgoldman jaredgoldman changed the base branch from shm_apis to macos_in_ci November 8, 2022 00:10
@jaredgoldman jaredgoldman closed this by deleting the head repository Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants