figure out which thread implementation to use

This commit is contained in:
rsc 2004-10-22 18:46:18 +00:00
parent 5093c3fa40
commit f6c9a57869

15
src/libthread/thread.sh Normal file
View file

@ -0,0 +1,15 @@
#!/bin/sh
if [ `uname` = Linux ]
then
case "`uname | awk '{print $3}'`" in
*)
echo Linux-clone
;;
2.[6789]*)
echo pthread
;;
esac
else
echo pthread
fi