#
36ef138c |
|
02-Jan-2018 |
Michael Lotz <mmlr@mlotz.ch> |
kernel: Implement WEXITED for waitid. Previously dead teams were always returned (as needed for wait/waitpid). Using waitid it should however be possible to omit the WEXITED flag to only get stopped (WUNTRACED | WSTOPPED) or continued (WCONTINUED) teams. Adjust the other caller of the _kern_wait_for_child syscall, used by the various less specific wait* functions, to always include WEXITED. This avoids having to special case waitid in the syscall interface or with an extra flag. Add a check to ensure that any of these flags is set to avoid the now possible case of nothing being specified. This fails with B_BAD_VALUE (EINVAL) as on other systems.
|
#
a295d3f4 |
|
10-Oct-2017 |
Jérôme Duval <jerome.duval@gmail.com> |
wait4(): retrieve dead team entries usage information. * This adds a parameter to the wait_for_child syscall. I extended the test case to show the actual retrieved information. * fix #13546
|
#
ae901935 |
|
24-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Introduce __set_errno() throughout libroot. * add errno_private.h, which defines the __set_errno() macro with and without tracing * instead of setting errno manually, all libroot's code now invokes __set_errno(), which makes it much easier to trace changes to errno * redirect glibc's use of __set_errno() to our own version
|
#
100541ec |
|
14-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
waitpid(): Fixed regression introduced with my signals changes: When WNOHANG was specified the syscall error code B_WOULD_BLOCK would no longer be mapped to 0. Fixes #7693. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42188 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
24df6592 |
|
11-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merged signals-merge branch into trunk with the following changes: * Reorganized the kernel locking related to threads and teams. * We now discriminate correctly between process and thread signals. Signal handlers have been moved to teams. Fixes #5679. * Implemented real-time signal support, including signal queuing, SA_SIGINFO support, sigqueue(), sigwaitinfo(), sigtimedwait(), waitid(), and the addition of the real-time signal range. Closes #1935 and #2695. * Gave SIGBUS a separate signal number. Fixes #6704. * Implemented <time.h> clock and timer support, and fixed/completed alarm() and [set]itimer(). Closes #5682. * Implemented support for thread cancellation. Closes #5686. * Moved send_signal() from <signal.h> to <OS.h>. Fixes #7554. * Lots over smaller more or less related changes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42116 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ae9019359606f1db67632ef51a77ce70001d3770 |
|
24-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Introduce __set_errno() throughout libroot. * add errno_private.h, which defines the __set_errno() macro with and without tracing * instead of setting errno manually, all libroot's code now invokes __set_errno(), which makes it much easier to trace changes to errno * redirect glibc's use of __set_errno() to our own version
|
#
100541ec40cecbc5963dbaa513ce8801836b995e |
|
14-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
waitpid(): Fixed regression introduced with my signals changes: When WNOHANG was specified the syscall error code B_WOULD_BLOCK would no longer be mapped to 0. Fixes #7693. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42188 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
24df65921befcd0ad0c5c7866118f922da61cb96 |
|
11-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merged signals-merge branch into trunk with the following changes: * Reorganized the kernel locking related to threads and teams. * We now discriminate correctly between process and thread signals. Signal handlers have been moved to teams. Fixes #5679. * Implemented real-time signal support, including signal queuing, SA_SIGINFO support, sigqueue(), sigwaitinfo(), sigtimedwait(), waitid(), and the addition of the real-time signal range. Closes #1935 and #2695. * Gave SIGBUS a separate signal number. Fixes #6704. * Implemented <time.h> clock and timer support, and fixed/completed alarm() and [set]itimer(). Closes #5682. * Implemented support for thread cancellation. Closes #5686. * Moved send_signal() from <signal.h> to <OS.h>. Fixes #7554. * Lots over smaller more or less related changes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42116 a95241bf-73f2-0310-859d-f6bbb57e9c96
|