Good idea. But clang didn't help.

In order to end the crashes, I had to stop relying on persistence. I simply 
release (set to nil) the top variable at the end of each spawned call.

The performance on Linux is terrible, possibly related to allocations. I'll 
post if I discover anything interesting. I was just hoping to learn something 
about the proper way to use threadvar.

Reply via email to