#
0e4b529d |
|
24-Apr-2019 |
Jérôme Duval <jerome.duval@gmail.com> |
pthread: pthread_getattr_np must call pthread_attr_init(). Fix #15025 Change-Id: Ie0b91714d375d75170b54e81cb31cf18b106ecc1 Reviewed-on: https://review.haiku-os.org/c/1413 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
ba56d0a5 |
|
07-Mar-2019 |
Jérôme Duval <jerome.duval@gmail.com> |
pthread: add pthread_getattr_np. non standard extension, but widely available to obtain attributes for a thread. also provides an alias for pthread_getattr_np which is the bsd equivalent. Change-Id: I26ef8245ed2537186f48c8b8bdf3e42b03e70892 Reviewed-on: https://review.haiku-os.org/c/1172 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
901c3d44 |
|
05-Mar-2019 |
Jérôme Duval <jerome.duval@gmail.com> |
pthread: implement pthread_attr_[get|set]stack. remove pthread_attr_[get|set]stackaddr from unimplemented functions. Change-Id: I58807e86c75a189a576639ae1b2e4505a63700a5 Reviewed-on: https://review.haiku-os.org/c/1152 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
533036dd |
|
16-Sep-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
libroot: Make sure PTHREAD_STACK_MIN is in the allowed range
|
#
74018092 |
|
16-Sep-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
libroot: Make sure PTHREAD_STACK_MIN is in the allowed range
|
#
d1f280c8 |
|
01-Apr-2012 |
Hamish Morrison <hamishm53@gmail.com> |
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.
|
#
d88b4037 |
|
26-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Reduce maximum priority to B_URGENT_DISPLAY_PRIORITY; real time threads isn't really something to play with without knowing the outcome. * Fixed indentation/coding style violations introduced with r33783. Please take more care when accepting patches! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33787 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f386c591 |
|
26-Oct-2009 |
Jérôme Duval <korli@users.berlios.de> |
Patch from Michael Franz (ticket #4696): sched.h and pthreads to allow setting of the thread priority git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33783 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6dc27eba |
|
15-Aug-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* As requested by POSIX, we now have PTHREAD_STACK_MIN, and PTHREAD_KEYS_MAX defined in limits.h. * This closes ticket #2559. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26982 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a411c76c |
|
23-May-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Added pthread_attr_setscope(), and pthread_attr_getscope(). We only support PTHREAD_SCOPE_SYSTEM which makes the implementation rather simple. * This closed ticket #2242. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25628 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6b202f4e |
|
13-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Introduced new header directory headers/private/system which is supposed to contain headers shared by kernel and userland (mainly libroot). * Moved quite a few private kernel headers to the new location. Split several kernel headers into a shared part and one that is still kernel private. Adjusted all affected Jamfiles and source in the standard x86 build accordingly. The build for other architectures and for test code may be broken. * Quite a bit of userland code still includes private kernel headers. Mostly those are <util/*> headers. The ones that aren't strictly kernel-only should be moved to some other place (maybe headers/private/shared/util). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25486 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f7cc12b3 |
|
08-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Implemented pthread_attr_{g,s}etstacksize(). Also added commented-out prototypes for the missing pthread_attr_*() functions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25390 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c345b8eb |
|
20-Jun-2006 |
Jérôme Duval <korli@users.berlios.de> |
fix error return codes for posix compatibility git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17885 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a23efdfa |
|
20-Jun-2006 |
Jérôme Duval <korli@users.berlios.de> |
added some pthread_* and pthread_attr_* naive functions I mapped pthread_t to thread_id for simplicity git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17879 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
533036dde7b27174e71d77f202ed94fc4d6e2fd1 |
|
16-Sep-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
libroot: Make sure PTHREAD_STACK_MIN is in the allowed range
|
#
74018092d0db34e537e509e77c1e763b542cc3df |
|
16-Sep-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
libroot: Make sure PTHREAD_STACK_MIN is in the allowed range
|
#
d1f280c80529d5f0bc55030c2934f9255bc7f6a2 |
|
01-Apr-2012 |
Hamish Morrison <hamishm53@gmail.com> |
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.
|
#
d88b4037b040ed795b06e505383e661f1bb0a3a0 |
|
26-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Reduce maximum priority to B_URGENT_DISPLAY_PRIORITY; real time threads isn't really something to play with without knowing the outcome. * Fixed indentation/coding style violations introduced with r33783. Please take more care when accepting patches! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33787 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f386c5910b0920cfa24950dfe81eee67e7d7ba67 |
|
26-Oct-2009 |
Jérôme Duval <korli@users.berlios.de> |
Patch from Michael Franz (ticket #4696): sched.h and pthreads to allow setting of the thread priority git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33783 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6dc27eba0cf91c1f7180064a1b31e96151a287be |
|
15-Aug-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* As requested by POSIX, we now have PTHREAD_STACK_MIN, and PTHREAD_KEYS_MAX defined in limits.h. * This closes ticket #2559. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26982 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a411c76cd686864a2dc3116d8ff16f3d26786c56 |
|
23-May-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Added pthread_attr_setscope(), and pthread_attr_getscope(). We only support PTHREAD_SCOPE_SYSTEM which makes the implementation rather simple. * This closed ticket #2242. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25628 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6b202f4e3da73d4c131355fcd82b792d153f84f6 |
|
13-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Introduced new header directory headers/private/system which is supposed to contain headers shared by kernel and userland (mainly libroot). * Moved quite a few private kernel headers to the new location. Split several kernel headers into a shared part and one that is still kernel private. Adjusted all affected Jamfiles and source in the standard x86 build accordingly. The build for other architectures and for test code may be broken. * Quite a bit of userland code still includes private kernel headers. Mostly those are <util/*> headers. The ones that aren't strictly kernel-only should be moved to some other place (maybe headers/private/shared/util). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25486 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f7cc12b389748853b43a2a4fa42b47ea2f812e61 |
|
08-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Implemented pthread_attr_{g,s}etstacksize(). Also added commented-out prototypes for the missing pthread_attr_*() functions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25390 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c345b8eb08e41982cf11aeaf87dadf6a52e2b671 |
|
20-Jun-2006 |
Jérôme Duval <korli@users.berlios.de> |
fix error return codes for posix compatibility git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17885 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a23efdfa79cbe91167c10accddbe3dcfd4317c4e |
|
20-Jun-2006 |
Jérôme Duval <korli@users.berlios.de> |
added some pthread_* and pthread_attr_* naive functions I mapped pthread_t to thread_id for simplicity git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17879 a95241bf-73f2-0310-859d-f6bbb57e9c96
|