clarification

This commit is contained in:
Matthew Flatt 2011-07-15 07:57:42 -06:00
parent 91a2e283a6
commit f288c694db
3 changed files with 6 additions and 6 deletions

View File

@ -174,7 +174,7 @@ string.
@defproc[(make-shared-bytes [k exact-nonnegative-integer?] [b byte? 0]) @defproc[(make-shared-bytes [k exact-nonnegative-integer?] [b byte? 0])
bytes?]{ Returns a new mutable byte string of length @racket[k] where each bytes?]{ Returns a new mutable byte string of length @racket[k] where each
position in the byte string is initialized with the byte @racket[b]. position in the byte string is initialized with the byte @racket[b].
When @secref["places"] are enabled, the new byte string is allocated in the For communication among @tech{places}, the new byte string is allocated in the
@tech{shared memory space}. @tech{shared memory space}.
@mz-examples[(make-shared-bytes 5 65)]} @mz-examples[(make-shared-bytes 5 65)]}
@ -183,7 +183,7 @@ When @secref["places"] are enabled, the new byte string is allocated in the
@defproc[(shared-bytes [b byte?] ...) bytes?]{ Returns a new mutable byte @defproc[(shared-bytes [b byte?] ...) bytes?]{ Returns a new mutable byte
string whose length is the number of provided @racket[b]s, and whose string whose length is the number of provided @racket[b]s, and whose
positions are initialized with the given @racket[b]s. positions are initialized with the given @racket[b]s.
When @secref["places"] are enabled, the new byte string is allocated in the For communication among @tech{places}, the new byte string is allocated in the
@tech{shared memory space}. @tech{shared memory space}.
@mz-examples[(shared-bytes 65 112 112 108 101)]} @mz-examples[(shared-bytes 65 112 112 108 101)]}

View File

@ -180,7 +180,7 @@ Like @racket[for/vector] or @racket[for*/vector], but for
@defproc[(shared-fxvector [x fixnum?] ...) fxvector?]{ @defproc[(shared-fxvector [x fixnum?] ...) fxvector?]{
Creates a @tech{fxvector} containing the given @tech{fixnums}. Creates a @tech{fxvector} containing the given @tech{fixnums}.
When @tech{places} are enabled, the new @tech{fxvector} is For communication among @tech{places}, the new @tech{fxvector} is
allocated in the @tech{shared memory space}. allocated in the @tech{shared memory space}.
@mz-examples[#:eval flfx-eval (shared-fxvector 2 3 4 5)]} @mz-examples[#:eval flfx-eval (shared-fxvector 2 3 4 5)]}
@ -192,7 +192,7 @@ allocated in the @tech{shared memory space}.
Creates a @tech{fxvector} with @racket[size] elements, where every Creates a @tech{fxvector} with @racket[size] elements, where every
slot in the @tech{fxvector} is filled with @racket[x]. slot in the @tech{fxvector} is filled with @racket[x].
When @tech{places} are enabled, the new @tech{fxvector} is For communication among @tech{places}, the new @tech{fxvector} is
allocated in the @tech{shared memory space}. allocated in the @tech{shared memory space}.
@mz-examples[#:eval flfx-eval (make-shared-fxvector 4 3)]} @mz-examples[#:eval flfx-eval (make-shared-fxvector 4 3)]}

View File

@ -198,7 +198,7 @@ Like @racket[for/vector] or @racket[for*/vector], but for
@defproc[(shared-flvector [x flonum?] ...) flvector?]{ @defproc[(shared-flvector [x flonum?] ...) flvector?]{
Creates a @tech{flvector} containing the given inexact real numbers. Creates a @tech{flvector} containing the given inexact real numbers.
When @tech{places} are enabled, the new @tech{flvector} is For communication among @tech{places}, the new @tech{flvector} is
allocated in the @tech{shared memory space}. allocated in the @tech{shared memory space}.
@mz-examples[#:eval fl-eval (shared-flvector 2.0 3.0 4.0 5.0)]} @mz-examples[#:eval fl-eval (shared-flvector 2.0 3.0 4.0 5.0)]}
@ -210,7 +210,7 @@ allocated in the @tech{shared memory space}.
Creates a @tech{flvector} with @racket[size] elements, where every Creates a @tech{flvector} with @racket[size] elements, where every
slot in the @tech{flvector} is filled with @racket[x]. slot in the @tech{flvector} is filled with @racket[x].
When @tech{places} are enabled, the new @tech{flvector} is For communication among @tech{places}, the new @tech{flvector} is
allocated in the @tech{shared memory space}. allocated in the @tech{shared memory space}.
@mz-examples[#:eval fl-eval (make-shared-flvector 4 3.0)]} @mz-examples[#:eval fl-eval (make-shared-flvector 4 3.0)]}