diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/threads/README | 14 | ||||
-rw-r--r-- | crypto/threads/profile.sh | 4 | ||||
-rwxr-xr-x | crypto/threads/ptest.bat | 4 | ||||
-rw-r--r-- | crypto/threads/pthread.sh | 9 | ||||
-rw-r--r-- | crypto/threads/purify.sh | 4 | ||||
-rw-r--r-- | crypto/threads/solaris.sh | 4 | ||||
-rwxr-xr-x | crypto/threads/win32.bat | 4 |
7 files changed, 43 insertions, 0 deletions
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 + |