libtransistor icon indicating copy to clipboard operation
libtransistor copied to clipboard

Thread-safe exit()

Open roblabla opened this issue 8 years ago • 1 comments

We need to figure out how to make exit thread-safe. I'm getting kind-of doubtful this is possible to do entirely, but right now exit in another thread gives us a segfault. We might be able to at least give it a saner behavior.

roblabla avatar Dec 13 '17 17:12 roblabla

I think the best we might be able to get is calling svcCancelSynchronization on all our threads and sprinkling checks to see if we've exited all over.

misson20000 avatar Dec 14 '17 00:12 misson20000