Changeset 419

Show
Ignore:
Timestamp:
11/09/10 14:57:52 (2 years ago)
Author:
sean
Message:

Changed ucontext_t initialization based on some info from here:
http://www.kernel.org/doc/man-pages/online/pages/man3/makecontext.3.html

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/core/thread.d

    r413 r419  
    35723572        { 
    35733573            getcontext( &m_utxt ); 
    3574             m_utxt.uc_stack.ss_sp   = m_ctxt.bstack
     3574            m_utxt.uc_stack.ss_sp   = m_pmem
    35753575            m_utxt.uc_stack.ss_size = m_size; 
    35763576            makecontext( &m_utxt, &fiber_entryPoint, 0 );