combinable::local Method

Returns a reference to the thread-private sub-computation.

_Ty& local();
_Ty& local(
   bool& _Exists
);

_Exists

A reference to a boolean. The boolean value referenced by this argument will be set to true if the sub-computation already existed on this thread, and set to false if this was the first sub-computation on this thread.

A reference to the thread-private sub-computation.

Header: ppl.h

Namespace: Concurrency

Community Additions

ADD
Show: