You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using thread-based parallelism to run a streamer and detector concurrently the detector can interfere with the streamer collecting data. #13 fixes this for Linux by moving to Process-based parallelism, however this implementation currently relies on using the fork method of starting Processes, which is only supported on Linux. Windows and MacOS do not have a safe fork method and use spawn instead. spawn does not work with the implmentation in #13 and an adjustment needs to be made to make this compatible with spawn.
To Reproduce
Attempt to use multiprocessing rather than multithreading in streamer.py.
Expected behavior
The streamer should be able to collect data regardless of what the rest of the system is doing.
Desktop (please complete the following information):
OS: Windows and Mac)S
Additional context #13 was somewhat rushed through as a fix to issues experienced by me, and I do not use MacOS or Windows for this, so the patch was not tested on these systems until running through CI systems. The changes in #13 were quite significant, and I didn't have time to correct these for spawn once I had made them. This issue is here to serve both as a reminder to me, and for anyone experiencing this issue on MacOS and Windows to let me know that it is urgent for them.
The text was updated successfully, but these errors were encountered:
Describe the bug
When using thread-based parallelism to run a streamer and detector concurrently the detector can interfere with the streamer collecting data. #13 fixes this for Linux by moving to Process-based parallelism, however this implementation currently relies on using the
fork
method of starting Processes, which is only supported on Linux. Windows and MacOS do not have a safefork
method and usespawn
instead.spawn
does not work with the implmentation in #13 and an adjustment needs to be made to make this compatible withspawn
.To Reproduce
Attempt to use multiprocessing rather than multithreading in
streamer.py
.Expected behavior
The streamer should be able to collect data regardless of what the rest of the system is doing.
Desktop (please complete the following information):
Additional context
#13 was somewhat rushed through as a fix to issues experienced by me, and I do not use MacOS or Windows for this, so the patch was not tested on these systems until running through CI systems. The changes in #13 were quite significant, and I didn't have time to correct these for
spawn
once I had made them. This issue is here to serve both as a reminder to me, and for anyone experiencing this issue on MacOS and Windows to let me know that it is urgent for them.The text was updated successfully, but these errors were encountered: