git: pthread - Respect RLIMIT_STACK for main thread's stack size

Michael Neumann mneumann at crater.dragonflybsd.org
Mon Aug 17 14:36:08 PDT 2020


commit 4b29dd4bf14ecfcbe53cbc16a3a96e433c70d7fc
Author: Michael Neumann <mneumann at ntecs.de>
Date:   Mon Aug 17 23:19:51 2020 +0200

    pthread - Respect RLIMIT_STACK for main thread's stack size
    
    Prior to this commit, the stack size of the main thread was fixed
    at 4 MB which was too low for certain applications.
    
    This commit fixes bootstrapping the lang/crystal compiler (see [1]).
    
    Reviewed-by: dillon
    
    Fixes-issue: #3234
    
    [1]: https://github.com/crystal-lang/crystal/pull/9178

Summary of changes:
 lib/libthread_xu/thread/thr_init.c | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4b29dd4bf14ecfcbe53cbc16a3a96e433c70d7fc


-- 
DragonFly BSD source repository



More information about the Commits mailing list