Macaulay2
»
Documentation
Packages
»
Macaulay2Doc
>
The Macaulay2 language
>
parallel programming with threads and tasks
>
setIOExclusive
next
|
previous
|
forward
|
backward
|
up
|
index
|
toc
setIOExclusive -- exclusive I/O for the current thread
Synopsis
Usage:
setIOExclusive()
setIOExclusive f
Inputs:
f
,
a
file
,
Consequences:
the current thread becomes the only one permitted to use the file
f
, or if no file is given, the files
stdio
and
stderr
.
See also
parallel programming with threads and tasks
setIOUnSynchronized
-- unsynchronized I/O for threads
setIOSynchronized
-- synchronized I/O for threads
getIOThreadMode
-- get I/O thread mode
For the programmer
The object
setIOExclusive
is
a
compiled function
.