neuralbertatech / natKit

A utility for connecting to and processing data from BCI devices
MIT License
2 stars 0 forks source link

Switch from Threading to Multiprocessing in SerialStream and Fifo #5

Open zacharyselk opened 1 year ago

zacharyselk commented 1 year ago

Both SerialStream and Fifo are currently using Threading for it's multithreading management. In python the threading module is limited by the Global Interpreter Lock (GIL) which restricts the interpreter to only running a single thread at any point in time. As such this project would benefit from switching to the parallels Multiprocessing module.