- This version provides a subset of POSIX interface. Several example
programs demonstrate the new interface. Old programs will still run,
however you are encouraged to migrate your programs to POSIX.


	POSIX interface functions available in this release:

clock_gettime
clock_settime
clock_getres

sched_get_priority_max
sched_get_priority_min

pthread_self

pthread_attr_init
pthread_attr_getstacksize
pthread_attr_setstacksize
pthread_yield

pthread_setschedparam
pthread_getschedparam
pthread_attr_setschedparam
pthread_attr_getschedparam
pthread_create

pthread_exit


The include/rtl_sched.h file contains declarations of these and other related
functions and types.

These functions are described, for example, in the Single UNIX
Specification, Version 2
(http://www.opengroup.org/onlinepubs/7908799/index.html).

Most Linux distributions contain man pages for these functions as
implemented by the LinuxThreads library.  You can try man 3
pthread_create, for example.

	Non-POSIX functions:

Manual pages for these functions can be found in the rtl/man directory.

pthread_attr_setcpu_np
pthread_attr_getcpu_np
pthread_wait_np -- suspend the execution of the calling thread until the next period (for periodic tasks)
pthread_delete_np -- delete the thread
pthread_setfp_np -- mark the thread as using or not using the FPU
pthread_make_periodic_np (pthread_t p, hrtime_t start, hrtime_t period) -- set timing parameters for periodic threads
pthread_suspend_np() -- suspend the execution of the calling thread
pthread_wakeup_np (pthread_t thread) -- wake up the thread


A possible use of these functions is demonstrated in the example programs.
There're man pages for these and other functions in the rtl/man directory.

	Notes:

pthread_create must only be called from Linux (i.e., not from
RT-threads).

