From a6fc578bd59cce9754c5c95830a46b9bf436a83a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulf=20M=C3=B6ller?= Date: Fri, 25 Feb 2000 14:40:31 +0000 Subject: mt contained an old copy of mttest.c. remove it and move the other files to crypto/threads --- crypto/threads/README | 14 ++++++++++++++ crypto/threads/profile.sh | 4 ++++ crypto/threads/ptest.bat | 4 ++++ crypto/threads/pthread.sh | 9 +++++++++ crypto/threads/purify.sh | 4 ++++ crypto/threads/solaris.sh | 4 ++++ crypto/threads/win32.bat | 4 ++++ 7 files changed, 43 insertions(+) create mode 100644 crypto/threads/README create mode 100644 crypto/threads/profile.sh create mode 100755 crypto/threads/ptest.bat create mode 100644 crypto/threads/pthread.sh create mode 100644 crypto/threads/purify.sh create mode 100644 crypto/threads/solaris.sh create mode 100755 crypto/threads/win32.bat (limited to 'crypto/threads') diff --git a/crypto/threads/README b/crypto/threads/README new file mode 100644 index 0000000000..df6b26e146 --- /dev/null +++ b/crypto/threads/README @@ -0,0 +1,14 @@ +Mutithreading testing area. + +Since this stuff is very very platorm specific, this is not part of the +normal build. Have a read of doc/threads.doc. + +mttest will do some testing and will currently build under Windows NT/95, +Solaris and Linux. The IRIX stuff is not finished. + +I have tested this program on a 12 CPU ultra sparc box (solaris 2.5.1) +and things seem to work ok. + +The Linux pthreads package can be retrieved from +http://www.mit.edu:8001/people/proven/pthreads.html + diff --git a/crypto/threads/profile.sh b/crypto/threads/profile.sh new file mode 100644 index 0000000000..de5eb06708 --- /dev/null +++ b/crypto/threads/profile.sh @@ -0,0 +1,4 @@ +#!/bin/sh +/bin/rm -f mttest +cc -p -DSOLARIS -I../include -g mttest.c -o mttest -L/usr/lib/libc -ldl -L.. -lthread -lssl -lcrypto -lnsl -lsocket + diff --git a/crypto/threads/ptest.bat b/crypto/threads/ptest.bat new file mode 100755 index 0000000000..ccaccae09d --- /dev/null +++ b/crypto/threads/ptest.bat @@ -0,0 +1,4 @@ +del mttest.exe + +purify cl /O2 -DWIN32 /MD -I..\out mttest.c /Femttest ..\out\ssl32.lib ..\out\crypt32.lib + diff --git a/crypto/threads/pthread.sh b/crypto/threads/pthread.sh new file mode 100644 index 0000000000..7d0b6e55f5 --- /dev/null +++ b/crypto/threads/pthread.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# +# build using pthreads +# +# http://www.mit.edu:8001/people/proven/pthreads.html +# +/bin/rm -f mttest +pgcc -DPTHREADS -I../include -g mttest.c -o mttest -L.. -lssl -lcrypto + diff --git a/crypto/threads/purify.sh b/crypto/threads/purify.sh new file mode 100644 index 0000000000..57c4017073 --- /dev/null +++ b/crypto/threads/purify.sh @@ -0,0 +1,4 @@ +#!/bin/sh +/bin/rm -f mttest +purify cc -DSOLARIS -I../include -g mttest.c -o mttest -L.. -lthread -lssl -lcrypto -lnsl -lsocket + diff --git a/crypto/threads/solaris.sh b/crypto/threads/solaris.sh new file mode 100644 index 0000000000..f6a90b17ee --- /dev/null +++ b/crypto/threads/solaris.sh @@ -0,0 +1,4 @@ +#!/bin/sh +/bin/rm -f mttest +cc -DSOLARIS -I../include -g mttest.c -o mttest -L.. -lthread -lssl -lcrypto -lnsl -lsocket + diff --git a/crypto/threads/win32.bat b/crypto/threads/win32.bat new file mode 100755 index 0000000000..56089f69be --- /dev/null +++ b/crypto/threads/win32.bat @@ -0,0 +1,4 @@ +del mttest.exe + +cl /O2 -DWIN32 /MD -I..\out mttest.c /Femttest ..\out\ssleay32.lib ..\out\libeay32.lib + -- cgit v1.2.3