Bash Threading
June 5, 2015 at 12:49 pm

I have eight cores. Multithreading in Bash really speeds some things up.

Download
threading
threading_append (Version that appends to current trap signals)

Usage
. /scripts/threading # or /scripts/thread_append
thread_init

for x; do

func &
thread_wait
done

thread_finish