diff options
-rw-r--r-- | src/libthread/thread.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libthread/thread.sh b/src/libthread/thread.sh new file mode 100644 index 00000000..e3984b79 --- /dev/null +++ b/src/libthread/thread.sh @@ -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 |