Logicademy / PYNQ-SoC-Builder

This project automates process of creating a PYNQ Z1/Z2 Overlay in Vivado, generates a custom Juypter Notebook template and uploads to a target PYNQ FPGA.
GNU Affero General Public License v3.0
3 stars 2 forks source link

thread lifecycle management #31

Closed aidandempsey closed 1 month ago

aidandempsey commented 1 month ago

When the notebook is re-run, the entire script is reloaded and all previously defined variables are cleared. However, manually created threads continues running because they are independent of the variable scoping. This leads to a situation where the thread is still trying to access variables that no longer exist in the current execution context. This has no effect on the functionality of the notebook but causes confusing error messages to appear. Additionally, these threads may continue using resources in the background.

Screenshot 2024-10-05 162737

Changes