History log of /openbsd-current/distrib/special/libstubs/pthread_mutex.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.2 22-Dec-2020 bcook

Destroy the mutex in tls_config objects when tls_config_free is called.

Add a stub for pthread_mutex_destroy() for installers.

ok tb@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.1 11-Nov-2018 bcook

Add automatic threading initialization for libcrypto.

This implements automatic thread support initialization in libcrypto.
This does not remove any functions from the ABI, but does turn them into
no-ops. Stub implementations of pthread_mutex_(init|lock|unlock) are
provided for ramdisks.

This does not implement the new OpenSSL 1.1 thread API internally,
keeping the original CRYTPO_lock / CRYPTO_add_lock functions for library
locking. For -portable, crypto_lock.c can be reimplemented with
OS-specific primitives as needed.

ok beck@, tb@, looks sane guenther@