Title:

threadAttributes - create an object of class threadAttributes with the default values overridden by those passed to this function.

Usage:

threadAttributes(priority, detach, stackSize, access, input, output, error, cancel )

Arguments:

The default values for each argument, where appropriate, are inherited from the calling thread.
priority:
See threadAttributes.
detach:
See threadAttributes.
stackSize:
See threadAttributes.
access:
See threadAttributes.
input:
See threadAttributes.
output:
See threadAttributes.
error:
See threadAttributes.
cancel:
See threadAttributes.

Return value:

an object of class threadAttributes with the specified values merged with the process wide default values.

See Also:

thread
threadAttributes

Examples:

      sink("output)
      for(i in 1:10) {
       attrs = threadAttributes(priority = i)
       thread(Quote(i=0;while(i < 100) print(i = i+1)), attributes=attrs)
      }

Key Words:

User Level Threads

Last modified: Mon Feb 10 10:26:56 1997