Home | History | Annotate | Download | only in sys
History log of /src/lib/libc/sys/sched.c
RevisionDateAuthorComments
 1.6  04-Jan-2018  kamil Add bunch of missing includes of namespace.h in libc

The NetBSD Standard C Library uses internally some of its functions with
a mangled symbol name, usually "_symbol". The internal functions shall not
use the global (public) symbols.

This change eliminates usage of the global changes of the following symbols:
- strlcat -> _strlcat
- sysconf -> __sysconf
- closedir -> _closedir
- fparseln -> _fparseln
- kill -> _kill
- mkstemp -> _mkstemp
- reallocarr -> _reallocarr
- strcasecmp -> _strcasecmp
- strncasecmp -> _strncasecmp
- strptime -> _strptime
- strtok_r -> _strtok_r
- sysctl -> _sysctl
- dlopen -> __dlopen
- dlclose -> __dlclose
- dlsym -> __dlsym

Sponsored by <The NetBSD Foundation>
 1.5  16-Dec-2017  christos PR/52826: Onno van der Linden: Return PRI_NONE for sched_get_priority_m{in,ax}
and SCHED_OTHER.
 1.4  18-Mar-2012  christos branches: 1.4.24;
fail as the man page says sched_rr_get_interval should.
 1.3  13-Mar-2012  christos PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.2  31-Oct-2008  rmind branches: 1.2.2; 1.2.10;
Add sched_getaffinity_np() and sched_setaffinity_np() wrappers, mainly
for compatibility purposes.
 1.1  02-Jul-2008  rmind branches: 1.1.2; 1.1.6;
Move scheduling functions from librt to libc.
Fixes PR/38657.
 1.1.6.1  12-Nov-2008  snj Pull up following revision(s) (requested by rmind in ticket #47):
lib/libc/sys/sched.c: revision 1.2
include/sched.h: revision 1.11
Add sched_getaffinity_np() and sched_setaffinity_np() wrappers, mainly
for compatibility purposes.
 1.1.2.2  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.1.2.1  02-Jul-2008  wrstuden file sched.c was added on branch wrstuden-revivesa on 2008-09-18 04:39:23 +0000
 1.2.10.1  17-Apr-2012  yamt sync with head
 1.2.2.2  31-Oct-2008  rmind Add sched_getaffinity_np() and sched_setaffinity_np() wrappers, mainly
for compatibility purposes.
 1.2.2.1  31-Oct-2008  rmind file sched.c was added on branch christos-time_t on 2008-10-31 00:29:20 +0000
 1.4.24.1  23-Jun-2018  martin Pull up following revision(s) (requested by maya in ticket #892):

lib/libc/sys/sched.c: revision 1.5

PR/52826: Onno van der Linden: Return PRI_NONE for sched_get_priority_m{in,ax}
and SCHED_OTHER.

RSS XML Feed