parent
f5306039cb
commit
c8d605a8cc
|
@ -91,12 +91,13 @@ message to each, and then waits for the places to terminate:
|
||||||
(map place-wait pls))
|
(map place-wait pls))
|
||||||
]
|
]
|
||||||
|
|
||||||
The @filepath{place-worker.rkt} module must export the
|
The @filepath{place-worker.rkt} module (in a file that
|
||||||
|
is separate from the above code) must export the
|
||||||
@racket[place-main] function that each place executes, where
|
@racket[place-main] function that each place executes, where
|
||||||
@racket[place-main] must accept a single @tech{place channel}
|
@racket[place-main] must accept a single @tech{place channel}
|
||||||
argument:
|
argument:
|
||||||
|
|
||||||
@racketmod[
|
@racketmod[#:file "place-worker.rkt"
|
||||||
racket
|
racket
|
||||||
(provide place-main)
|
(provide place-main)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user