Add support for pthread_attr_get/setguardsize()

* Added the aforementioned functions.
* create_area_etc() now takes a guard size parameter.
* The thread_info::stack_base/end range now refers to the usable range
  only.
This commit is contained in:
Hamish Morrison
2012-12-28 18:02:58 +00:00
parent 00e7904406
commit d1f280c805
29 changed files with 148 additions and 87 deletions
@@ -40,6 +40,7 @@ typedef struct _pthread_attr {
int32 detach_state;
int32 sched_priority;
size_t stack_size;
size_t guard_size;
} pthread_attr;
typedef struct _pthread_rwlockattr {