[haiku-bugs] Re: [Haiku] #8233: Patch for pthread_attr_getguardsize

  • From: "hamish" <trac@xxxxxxxxxxxx>
  • Date: Fri, 06 Apr 2012 22:33:42 -0000

#8233: Patch for pthread_attr_getguardsize
--------------------------+------------------------------------------------
   Reporter:  unitedroad  |      Owner:  bonefish
       Type:              |     Status:  assigned
  enhancement             |  Milestone:  R1
   Priority:  normal      |    Version:  R1/Development
  Component:              |   Keywords:  pthread, pthread_attr_getguardsize
  System/POSIX            |   Blocking:
 Resolution:              |   Platform:  All
 Blocked By:              |
Has a Patch:  1           |
--------------------------+------------------------------------------------

Comment (by hamish):

 That should address everything. The guard pages remain in both stacks
 after a `fork()` now.


 Replying to [comment:14 bonefish]:
 > I'm afraid the guard size is also not handled correctly when resizing
 and cutting areas/caches. Though that's getting farther and farther away
 from the pthread guard size feature. Feel free to add TODO's for the time
 being.

 I'm planning to fix the TODOs in `cut_area()` relating to cache resizing
 next. I'll fix the guard size behaviour as part of that.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8233#comment:15>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: