Previous | Next --- Slide 26 of 62
Back to Lecture Thumbnails
sidhikab

cilk_spawn means that there is a new logical instruction stream or a new independent thread of control that is carrying out foo. cilk_spawn does not actually create a thread and carry out foo in parallel. cilk_spawn is an abstraction, not an implementation. Therefore cilk_spawn means that foo could be run in parallel if the caller chooses to do so.

Please log in to leave a comment.