otrv4 / libotr-ng

A new implementation of OTR with support for version 4. This is a mirror of https://bugs.otr.im/otrv4/libotr-ng
Other
43 stars 9 forks source link

Check for thread safety #115

Closed claucece closed 5 years ago

claucece commented 6 years ago

Why

A library has to be secure in the ways it handles threads.

Tasks

olabini commented 5 years ago

I'll take a look and investigate this.

olabini commented 5 years ago

Specifically, this relates to identifying and documenting what can be safely modified from more than one thread, and what can not. In general, we don't have to be thread safe - we can just make sure that the client knows that they are in charge of synchronizing.