https://github.com/TokTok/c-toxcore/blob/master/toxav/toxav.h#L52 Claims the API is fully threadsafe, but https://github.com/TokTok/c-toxcore/blob/master/toxav/toxav.c#L237 accesses ToxAV data structures without proper locking.
I think I accidentally fixed this by changing the docs in #1307 but I think we should also use proper locking here.
https://github.com/TokTok/c-toxcore/blob/master/toxav/toxav.h#L52 Claims the API is fully threadsafe, but https://github.com/TokTok/c-toxcore/blob/master/toxav/toxav.c#L237 accesses ToxAV data structures without proper locking.
I think I accidentally fixed this by changing the docs in #1307 but I think we should also use proper locking here.