summaryrefslogtreecommitdiffstats
path: root/sys/sys/wait.h
Commit message (Collapse)AuthorAgeFilesLines
* wait: Make sure WIFSIGNALED(s) is false if WIFCONTINUED(s) is true.jilles2013-08-111-1/+1
|
* Move the definition of the idtype_t from sys/types.h to sys/wait.h.kib2012-11-161-0/+40
| | | | | | | | | Fix the bug, use #if __BSD_VISIBLE instead of #if defined(__BSD_VISIBLE), since __BSD_VISIBLE is always defined. Reformat the comments from the Solaris style to KNF. Reported and reviewed by: bde MFC after: 28 days
* Add the wait6(2) system call. It takes POSIX waitid()-like processkib2012-11-131-0/+12
| | | | | | | | | | | | | | | | | | | | | designator to select a process which is waited for. The system call optionally returns siginfo_t which would be otherwise provided to SIGCHLD handler, as well as extended structure accounting for child and cumulative grandchild resource usage. Allow to get the current rusage information for non-exited processes as well, similar to Solaris. The explicit WEXITED flag is required to wait for exited processes, allowing for more fine-grained control of the events the waiter is interested in. Fix the handling of siginfo for WNOWAIT option for all wait*(2) family, by not removing the queued signal state. PR: standards/170346 Submitted by: "Jukka A. Ukkonen" <jau@iki.fi> MFC after: 1 month
* Implement WNOWAIT flag for wait4(2). It specifies that process whose statuskib2008-08-261-1/+4
| | | | | | | | | is returned shall be kept in the waitable state. Add WSTOPPED as an alias for WUNTRACED. Submitted by: Jukka Ukkonen <jau at iki fi> PR: standards/116221 MFC after: 2 weeks
* Since union wait was removed in revision 1.17 (3 years, 5 months ago),davidxu2005-11-101-3/+1
| | | | | | type casting version of macro _W_INT is no longer needed. Discussed with: yongari
* - Move the function prototypes for kern_setrlimit() and kern_wait() tojhb2005-01-051-6/+2
| | | | | sys/syscallsubr.h where all the other kern_foo() prototypes live. - Resort kern_execve() while I'm there.
* Fixed missing forward declaration of struct rusage in the _KERNEL case.bde2004-04-091-6/+5
| | | | | | | Removed namespace-polluting forward declaration of struct rusage in the !_KERNEL && !_BSD_VISIBLE case. Fixed some nearby style bugs.
* Remove advertising clause from University of California Regent's license,imp2004-04-071-4/+0
| | | | | | per letter dated July 22, 1999. Approved by: core
* - Replace wait1() with a kern_wait() function that accepts the pid,jhb2004-03-171-1/+5
| | | | | | | | | | | | | | | options, status pointer and rusage pointer as arguments. It is up to the caller to copyout the status and rusage to userland if needed. This lets us axe the 'compat' argument and hide all that functionality in owait(), by the way. This also cleans up some locking in kern_wait() since it no longer has to drop locks around copyout() since all the copyout()'s are deferred. - Convert owait(), wait4(), and the various ABI compat wait() syscalls to use kern_wait() rather than wait1() or wait4(). This removes a bit more stackgap usage. Tested on: i386 Compiled on: i386, alpha, amd64
* Remove the deprecated 4.2/4.3BSD wait union.mike2002-06-051-56/+3
|
* Be more strict about namespaces.mike2002-06-011-8/+11
| | | | Submitted by: wollman (mostly)
* Fix some, but not all style bugs.mike2002-06-011-23/+22
|
* Add POSIX.1-2001 WCONTINUED option for waitpid(2). A proc flagmike2002-06-011-0/+2
| | | | | | | | | | (P_CONTINUED) is set when a stopped process receives a SIGCONT and cleared after it has notified a parent process that has requested notification via waitpid(2) with WCONTINUED specified in its options operand. The status value can be checked with the new WIFCONTINUED() macro. Reviewed by: jake
* Use underscored variant of BYTE_ORDER and friends to allow this tomike2002-05-271-4/+4
| | | | work in a !__BSD_VISIBLE environment.
* Remove __Palfred2002-03-191-4/+4
|
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-1/+1
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fix thread/process tracking and differentiation for Linux threads emulation.julian1999-03-021-1/+2
| | | | | | Submitted by: Richard Seaman, Jr." <dick@tar.com> Also clean some compiler warnings in surrounding code.
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Merge in Lite2: fix typo in comment.hsu1996-03-111-4/+4
| | | | Reviewed by: davidg & bde
* Fix a bunch of spelling errors in the comment fields ofmpp1996-01-301-3/+3
| | | | a bunch of system include files.
* Remove trailing whitespace.rgrimes1995-05-301-5/+5
|
* Made them all idempotent.paul1994-08-211-1/+6
| | | | | Reviewed by: Submitted by:
* Added $Id$dg1994-08-021-0/+1
|
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-241-0/+156
OpenPOWER on IntegriCloud