{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Task execution when a thread encounters a task

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ask construct can be placed anywhere in the program; whenever a thread encounters a task construct, a new task is generated. Task Execution !   When a thread encounters a task construct, it may choose to execute the task immediately or defer its execution until a later time. !   If task execution is deferred, then the task is placed in a pool of tasks. !   A thread that executes...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online