Any users who want to use mailstream_ssl_init_lock() should do that carefuly.
They should be careful about not running it concurrently.
Do you have a specific real-world use case?