From: Andy Polyakov Date: Fri, 25 Feb 2000 15:44:03 +0000 (+0000) Subject: There're two (incompatible) ways to write multi-threaded programs under X-Git-Tag: OpenSSL_0_9_5beta2~54 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dbe7113308be983d5407393784f70517e081dbfa;p=oweals%2Fopenssl.git There're two (incompatible) ways to write multi-threaded programs under IRIX, one is to call sproc(2) when every thread does get own pid and POSIX threads when all the threads share same pid. --- diff --git a/doc/ssleay.txt b/doc/ssleay.txt index 094e28ce48..3e964c2e9a 100644 --- a/doc/ssleay.txt +++ b/doc/ssleay.txt @@ -6710,8 +6710,8 @@ CRYPTO_set_locking_callback(locking_function); before any multithreading is started. id_function does not need to be defined under Windows NT or 95, the correct function will be called if it is not. Under unix, getpid() -is call if the id_callback is not defined, for solaris this is wrong -(since threads id's are not pid's) but under IRIX it is correct +is call if the id_callback is not defined, for Solaris this is wrong +(since threads id's are not pid's) but under Linux it is correct (threads are just processes sharing the data segement). The locking_callback is used to perform locking by the SSLeay library.