
EXAMPLE: PARALLEL PATTERN SEARCHING
179
that the programmer must be sure to have a sufficiently large buffer. ,
, and (not in the C library) are different ways to add, change,
and remove va riables and their values, with functionality equivalent to
.
Example: Parallel Pattern Searching
Now is the time to put Windows processes to the test. This example, ,
creates processes to search for patterns in files, one process per search file. The
pattern search program is modeled after the UNIX
utility, although the
technique would apply to any program that uses standard output. The search
program should be regarded as a black box and is simply an execut