[haiku-bugs] [Haiku] #9959: pthread minimum stack not adjusted to match haiku change

  • From: "Pete" <trac@xxxxxxxxxxxx>
  • Date: Sun, 15 Sep 2013 05:52:41 -0000

#9959: pthread minimum stack not adjusted to match haiku change
--------------------------+---------------------------
 Reporter:  Pete          |        Owner:  nobody
     Type:  bug           |       Status:  new
 Priority:  high          |    Milestone:  R1
Component:  System/POSIX  |      Version:  R1/alpha4.1
 Keywords:                |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
--------------------------+---------------------------
 when Pawel changed MIN_USER_STACK_SIZE (http://cgit.haiku-
 
os.org/haiku/commit/headers/private/system/thread_defs.h?id=3b4269ecf59fa0a994ecf20ec3472e02184f9328)
 the PTHREAD_STACK_MIN define in posix/limits.h never got increased to
 match.

 Ruby uses this minimum for its timer thread, so it crashes in newer revs
 of haiku.  (I've patched my own copy of ruby temporarily to bypass this.)

 Is a submitted patch needed for this small a change?  I haven't bothered
 to fix the haiku source itself yet, but if needed I'll do so.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9959>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: