[D-runtime] [D-Programming-Language/druntime] 9dca50: Added thread_stackBottom() which correctly handles...

noreply at github.com noreply at github.com
Thu Sep 29 16:39:31 PDT 2011


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime

  Commit: 9dca50fe65402fb3cdfbb689f1aca58dc835dce4
      https://github.com/D-Programming-Language/druntime/commit/9dca50fe65402fb3cdfbb689f1aca58dc835dce4
  Author: Sean Kelly <sean at invisibleduck.org>
  Date:   2011-09-29 (Thu, 29 Sep 2011)

  Changed paths:
    M src/core/runtime.d
  M src/core/sys/posix/pthread.d
  M src/core/thread.d

  Log Message:
  -----------
  Added thread_stackBottom() which correctly handles D-created fibers as well as kernel-created thread stacks.  Also reverted a change regarding fiber stack layout on Windows because the change was unnecessary.  And quadrupled the default fiber stack size to 16K to fix backtraces (and make fiber use less unexpectedly crashy in general).  I imagine fiber stacks could be tuned further, but 16K doesn't seem an unreasonable default.




More information about the D-runtime mailing list