Commit Graph

42 Commits

Author SHA1 Message Date
wiz 1e9633cfe4 Merge two descriptions for same error code. 2009-05-13 12:56:05 +00:00
joerg bea55cbff7 Fix markup. 2009-03-10 13:23:39 +00:00
rmind 2017b2a396 Small fix, "processes" mistaken with "processors". 2009-01-29 00:54:54 +00:00
dyoung d4e20cf95c Try to clarify what pset(3) actually does. This needs some more
work.
2009-01-28 23:44:45 +00:00
rmind 909e7f4259 - Make thread-affinity and processor-set interfaces mutually exlusive.
- pset_assign: when CPU is assigned, migrate out all LWPs from it.
2009-01-20 01:57:35 +00:00
christos 46edb91e9f bump shared libraries. 2009-01-11 03:07:47 +00:00
rmind 57babc4980 Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
2009-01-05 21:19:48 +00:00
ad 18e73e1ebe Replace semid_t with intptr_t. No function change. This is a libc/kernel
private interface and so the name change should not affect any third
party code.
2008-11-14 15:49:20 +00:00
wiz 0927a61656 Add missing word. 2008-11-01 14:04:52 +00:00
snj c65dcf2d06 Tweak some wording. 2008-10-31 18:07:18 +00:00
rmind a2d73f8239 Sync the man page with recent addition of few wrappers. 2008-10-31 11:55:40 +00:00
mrg 45ce2feab7 use libc/libcincludes.mk. 2008-10-26 07:28:49 +00:00
rmind 43819fe5ab Do not recommend to mix affinity(3) with pset(3). 2008-10-18 03:37:41 +00:00
rmind 2a94bd63c1 Move scheduling functions from librt to libc.
Fixes PR/38657.
2008-07-02 20:05:16 +00:00
wiz e15ccc02f4 Make HTML-ready. Bump date for previous. 2008-06-22 08:24:40 +00:00
wiz 81ffe97c5e Bump date for previous. 2008-06-22 08:24:26 +00:00
rmind 4e4303fb66 pset(3): add code example, note about thread affinity.
sched(3): mention affinity(3) and cpuset(3).
2008-06-16 14:34:10 +00:00
ad be6b674555 These work with SCHED_4BSD now. 2008-05-24 12:57:00 +00:00
ad 6b5cb6423a BUGS section no longer applies. 2008-05-05 14:46:40 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
rmind 38b8e432cc Add "This API is expected to be compatible with the APIs found in Solaris and
HP-UX operating systems" into the STANDARDS section, as discussed with <wiz>.
2008-03-11 18:09:40 +00:00
rmind f67f2ea584 Add pset(3) manual page, and appropriate links.
Thanks <wiz> for review and fixes!
2008-03-10 19:00:21 +00:00
rmind 2ac12931eb Add sched(3) manual page, and appropriate links.
Thanks <wiz> for review and fixes!
2008-03-10 14:47:06 +00:00
yamt 603e4b9abd update for _sched_{get,set}param changes. from rmind@. 2008-02-09 17:01:51 +00:00
rmind b5e9addd22 sched_setparam: fix the case when incorrect (according to the class)
in-kernel priority is used.  Reported by <drochner>.

Minor fixes for scheduling calls to conform the POSIX:
- If pid is equal to zero, use the calling process;
- In case of permission problem, return EPERM instead of EACESS;
- sched_setscheduler() should return previously used policy;
- pthread_* calls should return the error code or zero;

Should fix the namespace problems (and builds of some packages):
- Move cpuset_t defintion from pset.h to sched.h;
- Remove the #include of pset.h in pthread.h;
2008-01-26 17:55:29 +00:00
rmind 5c71a4d49f Implementation of processor-sets, affinity and POSIX real-time extensions.
Add schedctl(8) - a program to control scheduling of processes and threads.

Notes:
- This is supported only by SCHED_M2;
- Migration of LWP mechanism will be revisited;

Proposed on: <tech-kern>. Reviewed by: <ad>.
2008-01-15 03:37:10 +00:00
rmind 25e540085b Add cancellation stubs in libpthread for POSIX messages queues and
asynchronous I/O.

OK by <ad>.
2007-10-09 18:18:33 +00:00
rmind 2cecf9bbe9 Implementation of POSIX message queues.
Reviewed by: <ad>, <tech-kern>
2007-09-07 18:56:02 +00:00
wiz 90a93c1dcd Various improvements: sort errors; use more
markup; fixes for HTML and PostScript output.
2007-08-07 20:45:03 +00:00
rmind 5fd6c5db8f - Add aio_fsync(3) manual page. Reviewed and improved by <wiz>.
- Also, fix the accident duplicate of aio_suspend(3) entry.
2007-06-17 12:47:40 +00:00
rmind 05d5495566 We should clean the ${ASM} files, not a ${PSEUDO}, which is really "pseudo" ;)
Pointed out by <veego>.
2007-05-31 05:44:14 +00:00
ad 9ccfa416c9 Remove pointless AUTHORS sections. 2007-05-05 19:16:01 +00:00
rmind ed3e2de27c Add aio_cancel(3), aio_error(3), aio_read(3), aio_return(3), aio_suspend(3),
aio_write(3) and lio_listio(3) man-pages for asynchronous I/O.
Taken from FreeBSD with modifications for NetBSD implementation.

wizd, please! :)
2007-05-04 22:37:33 +00:00
rmind 67d703cf25 Import of POSIX Asynchronous I/O.
Seems to be quite stable. Some work still left to do.

Please note, that syscalls are not yet MP-safe, because
of the file and vnode subsystems.

Reviewed by: <tech-kern>, <ad>
2007-04-30 14:44:28 +00:00
peter bae4325411 This function is in librt, not libc. 2005-05-16 00:45:24 +00:00
kleink 4adfe32052 Add restrict qualifiers to function arguments (already in <semaphore.h>). 2005-03-21 21:55:08 +00:00
wiz 910da6b63e Add "not" to a sentence so that it makes more sense. 2005-01-29 14:19:43 +00:00
briggs a665897c6f Bring in sem_open (& sem_close & sem_unlink) man page from FreeBSD.
These functions are actually implemented, but the old man page said that
they simply returned with errors--it was apparently out of date at the
time of import.
2005-01-22 03:16:33 +00:00
simonb 758f7fd25d Check for __weak_alias macro before using it. 2003-12-07 12:53:19 +00:00
lukem ca2cd8e0ef use __RCSID() 2003-03-09 00:42:56 +00:00
thorpej 37946878c4 Add librt, which provides POSIX 1003.1b Real-time extensions not
present in libc.  Currently includes 1003.1b semaphores.
2003-01-24 01:52:42 +00:00