X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=tt;fp=tt;h=2bbe402fca4506dfc8814f7ff573c6d59549de6d;hb=9926c9a99da3d862b95da39669f767e4f020ec72;hp=45f4d56f607d4369d9dedf7649c78b4ea6cd06b3;hpb=a991df6f15035bafc4f288fb2b891223227897d3;p=tt.git diff --git a/tt b/tt index 45f4d56..2bbe402 100755 --- a/tt +++ b/tt @@ -73,12 +73,9 @@ [(cons x xs) (begin (thread-send thd (cons 'unit x)) (dispatch ws xs ys))])]))) - (define workers - (range 1 (add1 num_workers))) - (define threads - (map (λ (id) (thread (make-worker id f))) workers)) - (define results - (dispatch workers xs '())) + (define workers (range num_workers)) + (define threads (map (λ (id) (thread (make-worker id f))) workers)) + (define results (dispatch workers xs '())) (for-each thread-wait threads) results) @@ -203,7 +200,7 @@ (define user-agent (let* ([prog-name "tt"] - [prog-version "0.3.2"] + [prog-version "0.3.3"] [prog-uri "https://github.com/xandkar/tt"] [user-feed-file (expand-user-path "~/twtxt-me.txt")] [user