As always, most of it is great. so only the niggles get discussed.

On page 7, the following example is given:

    $oldpos = pos $string;
    $string =~ m/... <( .pos == $oldpos )> .../;

This implies that match position is associated with the string. This worries
me. If 2 threads are matching on the same string (intuitively safe, because
matching is a read-only operation) then both threads may both attempt to set
..pos. This would be unfortunate.

Dave.

--
Dave Whipp, Senior Verification Engineer,
Fast-Chip inc., 950 Kifer Rd, Sunnyvale, CA. 94086
tel: 408 523 8071; http://www.fast-chip.com
Opinions my own; statements of fact may be in error. 

Reply via email to