Version info:
CHICKEN
(c) 2008-2013, The Chicken Team
(c) 2000-2007, Felix L. Winkelmann
Version 4.8.0.3 (stability/4.8.0) (rev 091c3d9)
linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
compiled 2013-03-12 on aeryn.xorinia.dim (Darwin)
Hi,
I'm encountering a crash
Did I miss the source to threadtest.scm here? The file that
contains the variable num-threads? I don't see it.
-a
On Sun, Jul 06, 2014 at 05:41:44PM -0700, Christopher Collins wrote:
Version info:
** CHICKEN
** (c) 2008-2013, The Chicken Team
** (c) 2000-2007, Felix
Yeah, it probably would have helped if I included that, wouldn't it? :)
Here it is:
#!/usr/bin/csi -script
(use extras)
(use srfi-18)
(use tcp)
(define num-threads 2)
(define (connect port)
(let-values (((i o) (tcp-connect 192.168.1.101 port)))
(read i)))