Community
cancel
Showing results for 
Search instead for 
Did you mean: 
christiecohen
Beginner
29 Views

How Is Continuation Implemented

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
29 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.