From b317819b2e74f1f84925695596aa3c7487a2264d Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Wed, 17 Dec 2014 17:24:51 -0500 Subject: RT3548: Remove some obsolete platforms This commit removes BEOS. Reviewed-by: Richard Levitte --- crypto/threads/mttest.c | 97 ------------------------------------------------- 1 file changed, 97 deletions(-) (limited to 'crypto/threads') diff --git a/crypto/threads/mttest.c b/crypto/threads/mttest.c index da2707ef7a..fc686dde3f 100644 --- a/crypto/threads/mttest.c +++ b/crypto/threads/mttest.c @@ -1209,100 +1209,3 @@ unsigned long netware_thread_id(void) return(ret); } #endif /* NETWARE */ - -#ifdef BEOS_THREADS - -#include - -static BLocker** lock_cs; -static long* lock_count; - -void thread_setup(void) - { - int i; - - lock_cs=(BLocker**)OPENSSL_malloc(CRYPTO_num_locks() * sizeof(BLocker*)); - lock_count=(long*)OPENSSL_malloc(CRYPTO_num_locks() * sizeof(long)); - for (i=0; iLock(); - lock_count[type]++; - } - else - { - lock_cs[type]->Unlock(); - } - } - -void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx) - { - SSL_CTX *ssl_ctx[2]; - thread_id thread_ctx[MAX_THREAD_NUMBER]; - int i; - - ssl_ctx[0]=s_ctx; - ssl_ctx[1]=c_ctx; - - for (i=0; ireferences,c_ctx->references); - } - -unsigned long beos_thread_id(void) - { - unsigned long ret; - - ret=(unsigned long)find_thread(NULL); - return(ret); - } - -#endif /* BEOS_THREADS */ -- cgit v1.2.3