summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/time.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2000-08-302000-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-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.
1999-11-02Split time.c into multiple files.Joel Sherrill1-349/+0
1999-05-07Made all calls to _Thread_Yield_processor consistent in how they areJoel Sherrill1-2/+3
wrapped by calls to _Thread_Enable_dispatch and _Thread_Disable_dispatch.
1997-10-05If the specified time period is less than a clock tick, thenJoel Sherrill1-1/+4
it is arbitrarily assumed to be 1 clock tick.
1997-01-28Switch to using newlib's implementation of time().Joel Sherrill1-0/+3
1996-09-17added routine _POSIX_Timespec_subtractJoel Sherrill1-0/+31
1996-09-05nanosleep: negative value for tv_sec is no longer an error. It nowJoel Sherrill1-4/+10
is changed into being a 0 delay.
1996-08-15clock_gettime: changed assert condition to a standard error codeJoel Sherrill1-2/+3
clock_getres: now checking for a null pointer being passed in
1996-08-13removed errors for TOD not set yet.Joel Sherrill1-9/+9
made nanosleep return -1/EINTR for being interrupted for a signal.
1996-08-12clock_getres: added error check for NULL pointer being passed in.Joel Sherrill1-0/+3
1996-08-12nanosleep: verify rqtp parameter is non-NULL.Joel Sherrill1-0/+7
nanosleep: return 0 time remaining for a yield case.
1996-08-12time: It is not an error if the TOD is not set.Joel Sherrill1-2/+4
1996-08-01added page delimiters for comment blocksJoel Sherrill1-7/+16
1996-07-02*** empty log message ***Joel Sherrill1-1/+22
1996-06-11Basic signal functionality appears to work. pthread_kill() can successfullyJoel Sherrill1-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.
1996-06-07changed code which set errno and then returned -1 to use the macroJoel Sherrill1-22/+12
set_errno_and_return_minus_one.
1996-06-06removed timer_getoverrun() since it was also in ptimer.cJoel Sherrill1-11/+0
1996-06-03deleted POSIX threads typedef masking Thread_ControlJoel Sherrill1-1/+1
added initial version of pthread_detach and pthread_join
1996-06-03nanosleep now fills in the time remaining structure.Joel Sherrill1-4/+3
1996-06-03renamed _POSIX_Time_Spec_to_interval to _POSIX_Timespec_to_intervalJoel Sherrill1-14/+35
1996-06-03created ptimer.c and moved the timer_* routines out of time.c into ptimer.cJoel Sherrill1-58/+1
1996-05-31renamed _TOD_Ticks_since_boot as _Watchdog_Ticks_since_boot so the WatchdogJoel Sherrill1-1/+1
Handler could timestamp the starting and stopping of timers. Since TOD is built on top of Watchdog, this avoided a circular dependency.
1996-05-31moved sleep() from psignal.c to unistd.cJoel Sherrill1-3/+11
implemented sigemptyset() sigfillset(), sigaddset(), sigdelset(), and sigismember(). added checks for valid attribute values to some of the pthread_attr_t sets.
1996-05-30First cut at implementing time, clock_gettime, clock_settime, clock_getres,Joel Sherrill1-6/+161
sleep, and nanosleep. Does not yet support per process clock, per thread clock, interruptible sleep (sleep/nanosleep), or time remaining on nanosleep.
1996-05-29comment clean upJoel Sherrill1-2/+1
1996-05-29removed all ifdef's on NOT_IMPLEMENTED.Joel Sherrill1-3/+0
1996-05-29renamed signal.c to psignal.c to avoid naming problems.Joel Sherrill1-0/+11
added mp stubs to cond.c and mutex.c to eliminate link errors. added pthread_exit to pthread.c
1996-05-22These files have been modified in the initial pass at getting the portionJoel Sherrill1-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.
1995-10-06fixed missing CVS IDsJoel Sherrill1-0/+1
1995-09-26posix support initially addedJoel Sherrill1-0/+192