Vladimir N. Dzhivsanoff wrote:
1. X will has thread type ? What is thread type ? what is value of
thread type ?
Oz threads are not data structures. A thread is not a value, nor an
object. A thread is a control structure, just like an "if". When you
write something like
L = thread {Append L1 L2} end
you create a new thread that evaluates {Append L1 L2}, while the main
thread goes on. The expression {Append L1 L2} returns a list, which is
assigned to L.
Note that each thread has a thread identifier. It is returned by the
function call {Thread.this}. The latter is a value that is used to
manipulate the thread explicitly. The operations on threads are
described in the documentation at the url:
http://www.mozart-oz.org/documentation/base/thread.html#section.control.threads
I hope this will help a bit.
Cheers,
raph
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users