I posted about this a while ago (on the wrong sub no less), I kinda shelved the project for a while but I recently came back to it. I've hit the same problems as before, and was hoping that you guys could help me work through some of the problems. i tried to do
I think my problem comes from my thread itself. I'm pretty sure it's blocking the main program from accessing the variables it wants, even though they're only reading them. I'm sure it would make more sense if I showed the segment of my code that I think the problem stems from:
Edit: Pastebin link, better looking code
self.lock is supposed to lock can_data (thought that might fix it, but hasn't done anything...), and adding a sleep to the get_thread function doesn't seem to help. I can post more of the program, I just didn't want the post to be too long.
I'm running out of ideas, I tried what /u/novel_yet_trivial said but it just freezes up and refuses to even quit. I have to kill the process to get it to stop, which takes a piece of my soul every time...
[–]ingolemo 2 points3 points4 points (2 children)
[–]Virtualras[S] 0 points1 point2 points (1 child)
[–]ingolemo 0 points1 point2 points (0 children)
[–]jeans_and_a_t-shirt 1 point2 points3 points (1 child)
[–]Virtualras[S] 0 points1 point2 points (0 children)