cyrusimap / cyrus-sasl

Other
128 stars 146 forks source link

Init with threads #803

Closed mistotebe closed 10 months ago

mistotebe commented 10 months ago

Add --with-threads=<implementation> configure option that makes sasl_client_init/sasl_server_init thread safe. Some code is borrowed from OpenLDAP, @hyc can you review this is OK copyright-wise? Some of it (e.g. Windows side of _sasl_mutex_init, probably the whole NT infra) is yours.

mistotebe commented 10 months ago

Assuming that you're happy with the copyright side of things and dropping the Draft state of this PR.