Exemplo n.º 1
0
 void rebind_stack()
 {
   if (m_stack) {
     // just reset the context stack pointer to its initial value at the stack start
     increment_stack_recycle_count();
     int error = HPX_COROUTINE_MAKE_CONTEXT(
         &m_ctx, m_stack, m_stack_size, (void (*)(void*))(funp_), &cb_, NULL);
     HPX_UNUSED(error);
     HPX_ASSERT(error == 0);
   }
 }
Exemplo n.º 2
0
 void rebind_stack()
 {
     increment_stack_recycle_count();
 }
Exemplo n.º 3
0
 void rebind_stack() noexcept
 {
     increment_stack_recycle_count();
 }
Exemplo n.º 4
0
 void rebind_stack() 
 {
     if (ctx_.fc_stack.sp) 
         increment_stack_recycle_count();
 }