Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

How Is Continuation Implemented

christiecohen
Beginner
98 Views
I saw it use a allocate_continuation_proxy.
But I don't find how it works.

As you described, the continuation merchanism reduced the stack overflow issue.
I suppose it changes the recursive call to some other logic

How does it works?

Thanks

0 Kudos
1 Reply
RafSchietekat
Black Belt
98 Views

If you have studied tutorial and reference manual for all you need to know from a user's point of view and are stillcurious aboutsome of the implementation details, you may find thread "Understanding Internals of tbb::task" interesting.

Reply