summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/time.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2001-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-01-241-0/+4
| | | | | | | * configure.in: Add src/config.h * src/Makefile.am: Add INCLUDES += -I. to pickup config.h * src/.cvsignore: Add config.h and stamp-h * src/*.c: Add config.h support.
* 2000-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-08-301-1/+1
| | | | | | * Many files: Moved posix/include/rtems/posix/seterr.h to score/include/rtems/seterr.h so it would be available within all APIs.
* Split time.c into multiple files.Joel Sherrill1999-11-021-349/+0
|
* Made all calls to _Thread_Yield_processor consistent in how they areJoel Sherrill1999-05-071-2/+3
| | | | wrapped by calls to _Thread_Enable_dispatch and _Thread_Disable_dispatch.
* If the specified time period is less than a clock tick, thenJoel Sherrill1997-10-051-1/+4
| | | | it is arbitrarily assumed to be 1 clock tick.
* Switch to using newlib's implementation of time().Joel Sherrill1997-01-281-0/+3
|
* added routine _POSIX_Timespec_subtractJoel Sherrill1996-09-171-0/+31
|
* nanosleep: negative value for tv_sec is no longer an error. It nowJoel Sherrill1996-09-051-4/+10
| | | | is changed into being a 0 delay.
* clock_gettime: changed assert condition to a standard error codeJoel Sherrill1996-08-151-2/+3
| | | | clock_getres: now checking for a null pointer being passed in
* removed errors for TOD not set yet.Joel Sherrill1996-08-131-9/+9
| | | | made nanosleep return -1/EINTR for being interrupted for a signal.
* clock_getres: added error check for NULL pointer being passed in.Joel Sherrill1996-08-121-0/+3
|
* nanosleep: verify rqtp parameter is non-NULL.Joel Sherrill1996-08-121-0/+7
| | | | nanosleep: return 0 time remaining for a yield case.
* time: It is not an error if the TOD is not set.Joel Sherrill1996-08-121-2/+4
|
* added page delimiters for comment blocksJoel Sherrill1996-08-011-7/+16
|
* *** empty log message ***Joel Sherrill1996-07-021-1/+22
|
* Basic signal functionality appears to work. pthread_kill() can successfullyJoel Sherrill1996-06-111-1/+4
| | | | | | | send signals to the current thread or to another blocked thread. nanosleep() can be interrupted by a signal and return the time remaining. Post switch extension added to dispatch posix signal handlers.
* changed code which set errno and then returned -1 to use the macroJoel Sherrill1996-06-071-22/+12
| | | | set_errno_and_return_minus_one.
* removed timer_getoverrun() since it was also in ptimer.cJoel Sherrill1996-06-061-11/+0
|
* deleted POSIX threads typedef masking Thread_ControlJoel Sherrill1996-06-031-1/+1
| | | | added initial version of pthread_detach and pthread_join
* nanosleep now fills in the time remaining structure.Joel Sherrill1996-06-031-4/+3
|
* renamed _POSIX_Time_Spec_to_interval to _POSIX_Timespec_to_intervalJoel Sherrill1996-06-031-14/+35
|
* created ptimer.c and moved the timer_* routines out of time.c into ptimer.cJoel Sherrill1996-06-031-58/+1
|
* renamed _TOD_Ticks_since_boot as _Watchdog_Ticks_since_boot so the WatchdogJoel Sherrill1996-05-311-1/+1
| | | | | Handler could timestamp the starting and stopping of timers. Since TOD is built on top of Watchdog, this avoided a circular dependency.
* moved sleep() from psignal.c to unistd.cJoel Sherrill1996-05-311-3/+11
| | | | | | | implemented sigemptyset() sigfillset(), sigaddset(), sigdelset(), and sigismember(). added checks for valid attribute values to some of the pthread_attr_t sets.
* First cut at implementing time, clock_gettime, clock_settime, clock_getres,Joel Sherrill1996-05-301-6/+161
| | | | | sleep, and nanosleep. Does not yet support per process clock, per thread clock, interruptible sleep (sleep/nanosleep), or time remaining on nanosleep.
* comment clean upJoel Sherrill1996-05-291-2/+1
|
* removed all ifdef's on NOT_IMPLEMENTED.Joel Sherrill1996-05-291-3/+0
|
* renamed signal.c to psignal.c to avoid naming problems.Joel Sherrill1996-05-291-0/+11
| | | | | | added mp stubs to cond.c and mutex.c to eliminate link errors. added pthread_exit to pthread.c
* These files have been modified in the initial pass at getting the portionJoel Sherrill1996-05-221-0/+2
| | | | | | of the POSIX API necessary to support the GNAT runtime to initially compile. We now have verified that the specifications for the necessary routines are correct per the POSIX standards we have.
* fixed missing CVS IDsJoel Sherrill1995-10-061-0/+1
|
* posix support initially addedJoel Sherrill1995-09-261-0/+192