[visionlist] pysyncq - Python Synchronisation Queue
Jackson Smith
jackson.e.t.smith at gmail.com
Mon Aug 21 05:00:18 -04 2023
Dear Vision Researchers,
I am happy to announce the initial release of pysyncq. It is a
multiprocessing data structure for passing signalling messages between
different Python processes so that their collective state and timing are
coordinated.
A single Python process can only do one thing at a time, due to the Global
Interpreter Lock. But a psychophysics experiment may need separate
processes to accomplish many things at once e.g. generating stimuli with
PsychoPy, monitoring behavioural state, managing trial progress with a
state machine, and so on. pysyncq glues separate processes into a coherent
application by sending and waiting for simple string messages.
If this could help your research then find the installable package on PyPI
here: https://pypi.org/project/pysyncq
Online documentation is here: https://pysyncq.readthedocs.io
And the source code is here: https://github.com/jsdpag/pysyncq
Kind regards,
Jackson Smith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://visionscience.com/pipermail/visionlist_visionscience.com/attachments/20230821/d5c74657/attachment.html>
More information about the visionlist
mailing list