Threads
Wait
wait for a thread to finish
Calling Sequence
Parameters
Description
Examples
Wait( id1, id2, ... )
id1, id2, ...
-
(integer) thread identifiers
The Wait command pauses the current thread until the threads specified as arguments finish.
with⁡Threads
Add,ConditionVariable,Create,Map,Mul,Mutex,Self,Seq,Sleep,Task,Wait
id≔Create⁡int⁡sin⁡xx,x,d
id≔1
d
Wait⁡id
∫sin⁡xxⅆx
id1≔Create⁡int⁡1xx,x,d1
id1≔2
id2≔Create⁡int⁡xx,x,d2
id2≔3
d1,d2
Wait⁡id1,id2
∫1xxⅆx,∫xxⅆx
See Also
Threads[ConditionVariable]
Threads[Create]
Threads[Mutex]
Threads[Self]
Download Help Document
What kind of issue would you like to report? (Optional)