summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/psxtimercreate.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-08-10Add support for CONFIGURE_POSIX_TIMERS_FACE_BEHAVIORJoel Sherrill1-2/+29
This adds the configure option CONFIGURE_POSIX_TIMERS_FACE_BEHAVIOR which allows the application to choose whether to have the POSIX timer_create() function follow the behavior defined by POSIX or the FACE Technical Standard. Updates #4691.
2022-02-28cpukit/posix/src/[p-z]*.c: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2021-08-11Test needed for timer_create with CLOCK_MONOTONCZacchaeus Leung1-1/+2
the timer_create() method can use CLOCK_MONOTONIC but there was no test for this. Also it implements the functionality to create a CLOCK_MONOTONIC timer and gettime() . Closes #3888
2020-04-28doxygen: Switch @brief and @ingroupSebastian Huber1-1/+2
This order change fixes the Latex documentation build via Doxygen.
2020-04-16Canonicalize config.h includeSebastian Huber1-1/+1
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2018-12-14score: Static Objects_Information initializationSebastian Huber1-3/+14
Statically allocate the objects information together with the initial set of objects either via <rtems/confdefs.h>. Provide default object informations with zero objects via librtemscpu.a. This greatly simplifies the workspace size estimate. RTEMS applications which do not use the unlimited objects option are easier to debug since all objects reside now in statically allocated objects of the right types. Close #3621.
2018-10-04Rename files to make them unique within cpukitSebastian Huber1-0/+0
This allows to build librtemscpu.a in one rush in the future.
2016-03-04score: Replace watchdog handler implementationSebastian Huber1-1/+2
Use a red-black tree instead of delta chains. Close #2344. Update #2554. Update #2555. Close #2606.
2015-07-28score: Rename _POSIX_Absolute_timeout_to_ticks()Sebastian Huber1-1/+0
Rename _POSIX_Absolute_timeout_to_ticks() to _TOD_Absolute_timeout_to_ticks() and move it to the score directory. Delete empty <rtems/posix/time.h>.
2015-06-13score: Add _Watchdog_Preinitialize()Sebastian Huber1-1/+1
Add an assert to ensure that the watchdog is the proper state for a _Watchdog_Initialize(). This helps to detect invalid initializations which may lead to a corrupt watchdog chain.
2014-03-31score: PR2152: Use allocator mutex for objectsSebastian Huber1-5/+3
Use allocator mutex for objects allocate/free. This prevents that the thread dispatch latency depends on the workspace/heap fragmentation.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2013-11-29POSIX timers: Add restrict keywordSahil Patnayakuni1-2/+2
+ timer_create() + timer_settime()
2013-07-22score: Create watchdog implementation headerSebastian Huber1-0/+1
Move implementation specific parts of watchdog.h and watchdog.inl into new header file watchdogimpl.h. The watchdog.h contains now only the application visible API.
2013-07-22posix: Create timer implementation headerSebastian Huber1-1/+1
Move implementation specific parts of timer.h and timer.inl into new header file timerimpl.h. The timer.h contains now only the application visible API.
2013-06-07score: Add and use _Objects_Put()Sebastian Huber1-2/+2
Add and use _Objects_Put_without_thread_dispatch(). These two functions pair with the _Objects_Get() function. This helps to introduce object specific SMP locks to avoid lock contention.
2012-12-13posix: Doxygen enhancement task #4Mathew Kallada1-0/+7
http://www.google-melange.com/gci/task/view/google/gci2012/7955219
2012-12-05posix: Add and use <rtems/posix/psignalimpl.h>Sebastian Huber1-1/+1
This file contains the parts of <rtems/posix/psignal.h> that are only necessary for the POSIX API implementation.
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2009-11-30Whitespace removal.Ralf Corsepius1-2/+2
2008-01-232008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* itron/include/rtems/itron/object.h, itron/src/cre_tsk.c, libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c, libmisc/capture/capture.c, libmisc/monitor/mon-manager.c, libmisc/stackchk/check.c, posix/src/condinit.c, posix/src/keycreate.c, posix/src/mqueuecreatesupp.c, posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c, posix/src/mqueueopen.c, posix/src/mqueueunlink.c, posix/src/mutexinit.c, posix/src/pbarrierinit.c, posix/src/prwlockinit.c, posix/src/pspininit.c, posix/src/pthreadcreate.c, posix/src/pthreadexit.c, posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c, posix/src/timercreate.c, rtems/src/barrierident.c, rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c, rtems/src/ratemonident.c, rtems/src/regionident.c, rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c, sapi/src/extensionident.c, score/Makefile.am, score/include/rtems/score/object.h, score/inline/rtems/score/object.inl, score/src/apimutexallocate.c, score/src/objectextendinformation.c, score/src/objectgetnameasstring.c, score/src/objectmp.c, score/src/objectnametoid.c: Convert the Objects_Name type from a simple type to a union of an unsigned 32 bit integer and a pointer. This should help eliminate weird casts between u32 and pointers in various places. The APIs now have to explicitly call _u32 or _string versions of helper routines. This should also simplify things and eliminate the need for ugly casts in some cases. * score/src/objectclearname.c, score/src/objectcomparenameraw.c, score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c, score/src/objectcopynamestring.c: Removed.
2007-12-172007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-0/+97
* posix/Makefile.am, posix/preinstall.am, posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX Timer implementation into multiple files. Add obvious error checks for NULL parameters. Attempt to reduce include files. * posix/src/timercreate.c, posix/src/timerdelete.c, posix/src/timergetoverrun.c, posix/src/timergettime.c, posix/src/timerinserthelper.c, posix/src/timersettime.c, posix/src/timertsr.c: New files. * posix/src/ptimer1.c: Removed.