[Chicago-talk] fork and talk to the parent

Steven Lembark lembark at wrkhors.com
Sat Dec 6 11:42:51 CST 2003

-- Jay Strauss <me at heyjay.com>

> The threading code I wrote seems to work in 5.6.1 too.
> How would I stress test it?  I'm not reading an writing the same data at
> the same time.  that is, one thread writes to the data, and the other
> tread reads it.

Put read/write operations into a for loop:

	for( @readfromz )
		read_from $_;

if whatever your read_from does takes an argument then
this'll test it that many ways.

Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 888 359 3508

More information about the Chicago-talk mailing list