Update concurrent.md

This commit is contained in:
Justin Ethier 2019-06-27 13:38:53 -04:00 committed by GitHub
parent 97fac74858
commit ef0970a769
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,9 +51,9 @@ All other objects must be explicitly shared before they can be safely used by mu
(make-shared obj)
Return a reference to an object that can be safely shared by many threads.
Return an object that can be safely shared by many threads.
If the given object is atomic or already shared it it simply returned. Otherwise it is necessary to create a copy of the object.
If the given object is already shared it it simply returned. Otherwise it is necessary to create a copy of the object.
Note this function may trigger a minor GC if a thread-local pair or vector is passed.