Skip to content

Documentation claims toxav_iteration_interval is threadsafe but it's not #1316

@sudden6

Description

@sudden6

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low priority

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions