summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/mutexget.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-05-25score: Move thread queue MP callout to contextSebastian Huber1-3/+3
Drop the multiprocessing (MP) dependent callout parameter from the thread queue extract, dequeue, flush and unblock methods. Merge this parameter with the lock context into new structure Thread_queue_Context. This helps to gets rid of the conditionally compiled method call helpers.
2016-05-20Replace *_Get_interrupt_disable() with *_Get()Sebastian Huber1-1/+1
Uniformly use *_Get() to get an object by identifier with a lock context.
2016-05-20posix: Add and use _POSIX_Get_object_body()Sebastian Huber1-38/+7
2016-04-21posix: Avoid Giant lock for mutexesSebastian Huber1-22/+2
Delete _POSIX_Mutex_Get(). Use _POSIX_Mutex_Get_interrupt_disable() instead. Update #2555.
2016-04-21posix: Simplify _POSIX_Mutex_Get_interrupt_disableSebastian Huber1-6/+7
Remove superfluous location parameter.
2015-04-21score: _Objects_Get_isr_disable()Sebastian Huber1-2/+2
Use ISR_lock_Context instead of ISR_Level to allow use of ISR locks for low-level locking. Update #2273.
2014-10-08posix: Fix mutex auto initializationSebastian Huber1-1/+10
Use the once lock to prevent race conditions during auto initialization.
2014-10-08posix: Use function instead of macrosSebastian Huber1-41/+28
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2013-07-26score: Create mpci implementation headerSebastian Huber1-3/+0
Move implementation specific parts of mpci.h into new header file mpciimpl.h. The mpci.h contains now only the application visible API.
2013-07-18score: Create mutex implementation headerSebastian Huber1-1/+1
Move implementation specific parts of coremutex.h and coremutex.inl into new header file coremuteximpl.h. The coremutex.h contains now only the application visible API.
2013-07-18posix: Create mutex implementation headerSebastian Huber1-1/+1
Move implementation specific parts of mutex.h and mutex.inl into new header file muteximpl.h. The mutex.h contains now only the application visible API.
2013-01-10cpukit/posix: Doxygen group is POSIXAPIJoel Sherrill1-1/+1
2012-12-16posix: Doxygen Enhancement Task #7Mathew Kallada1-2/+7
http://www.google-melange.com/gci/task/view/google/gci2012/7958218
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-1/+1
2009-07-062009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-6/+13
* posix/src/mutexget.c: Restructure to improve ability to do coverage analysis.
2009-01-052009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-9/+9
* libcsupport/src/gxx_wrappers.c, posix/include/mqueue.h, posix/include/rtems/posix/semaphore.h, posix/inline/rtems/posix/barrier.inl, posix/inline/rtems/posix/key.inl, posix/inline/rtems/posix/mqueue.inl, posix/inline/rtems/posix/rwlock.inl, posix/inline/rtems/posix/semaphore.inl, posix/inline/rtems/posix/spinlock.inl, posix/inline/rtems/posix/timer.inl, posix/src/condget.c, posix/src/mqueuenametoid.c, posix/src/mutexget.c, posix/src/semaphorenametoid.c, posix/src/semopen.c, sapi/src/itronapi.c, sapi/src/posixapi.c: Make changes necessary for all tests to run on SPARC with 16-bit Ids. This required ensuring that all POSIX and compilering binding code makes a distinction between the public Id type (e.g. pthread_t, etc.) and the RTEMS Object_Id type. All POSIX Object Get routines should not take the POSIX Id type as the argument. Sixteen bit RTEMS Ids should be placed into the 32-bits reserved by the POSIX API type in a uniform manner now. This removed all assumptions that the external Id types in POSIX and ITRON are the same as the internal Object Id type.
2008-01-092008-01-09 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-56/+22
* posix/Makefile.am, posix/include/rtems/posix/cond.h, posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl, posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or Condition Variable object get helpers because they are more complicated than the norm. They can implicitly perform a create. They cross the line as being too complex and large to inline since they negatively impact size and binary test coverage. * posix/src/condget.c, posix/src/mutexget.c: New files.
2006-04-072006-04-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-2/+6
* posix/inline/rtems/posix/mutex.inl, posix/inline/rtems/posix/timer.inl, posix/macros/rtems/posix/cond.inl, posix/macros/rtems/posix/mutex.inl, posix/macros/rtems/posix/timer.inl: Fix warnings.
2006-01-15Keep compiler happy by making some casts explicit. (PR859)Eric Norum1-1/+1
2005-02-21New header guards.Ralf Corsepius1-2/+2
2004-11-21Add doxygen preamble.Ralf Corsepius1-0/+4
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* include/rtems/posix/cond.h, include/rtems/posix/condmp.h, include/rtems/posix/config.h, include/rtems/posix/intr.h, include/rtems/posix/key.h, include/rtems/posix/mqueue.h, include/rtems/posix/mqueuemp.h, include/rtems/posix/mutex.h, include/rtems/posix/mutexmp.h, include/rtems/posix/posixapi.h, include/rtems/posix/pthread.h, include/rtems/posix/pthreadmp.h, include/rtems/posix/ptimer.h, include/rtems/posix/semaphore.h, include/rtems/posix/semaphoremp.h, inline/rtems/posix/cond.inl, inline/rtems/posix/intr.inl, inline/rtems/posix/key.inl, inline/rtems/posix/mqueue.inl, inline/rtems/posix/mutex.inl, inline/rtems/posix/pthread.inl, inline/rtems/posix/semaphore.inl, inline/rtems/posix/timer.inl, macros/rtems/posix/cond.inl, macros/rtems/posix/intr.inl, macros/rtems/posix/key.inl, macros/rtems/posix/mqueue.inl, macros/rtems/posix/mutex.inl, macros/rtems/posix/pthread.inl, macros/rtems/posix/semaphore.inl, macros/rtems/posix/timer.inl, src/alarm.c, src/kill.c, src/killinfo.c, src/mqueuetranslatereturncode.c, src/pause.c, src/pthreadattrdestroy.c, src/pthreadattrgetdetachstate.c, src/pthreadattrgetinheritsched.c, src/pthreadattrgetschedparam.c, src/pthreadattrgetschedpolicy.c, src/pthreadattrgetscope.c, src/pthreadattrgetstackaddr.c, src/pthreadattrgetstacksize.c, src/pthreadattrinit.c, src/pthreadattrsetdetachstate.c, src/pthreadattrsetinheritsched.c, src/pthreadattrsetschedparam.c, src/pthreadattrsetschedpolicy.c, src/pthreadattrsetscope.c, src/pthreadattrsetstackaddr.c, src/pthreadattrsetstacksize.c, src/pthreadcreate.c, src/pthreaddetach.c, src/pthreadequal.c, src/pthreadexit.c, src/pthreadgetcpuclockid.c, src/pthreadgetcputime.c, src/pthreadgetschedparam.c, src/pthreadjoin.c, src/pthreadkill.c, src/pthreadonce.c, src/pthreadself.c, src/pthreadsetcputime.c, src/pthreadsetschedparam.c, src/pthreadsigmask.c, src/sigaction.c, src/sigaddset.c, src/sigdelset.c, src/sigemptyset.c, src/sigfillset.c, src/sigismember.c, src/signal_2.c, src/sigpending.c, src/sigprocmask.c, src/sigqueue.c, src/sigsuspend.c, src/sigtimedwait.c, src/sigwait.c, src/sigwaitinfo.c, src/ualarm.c: URL for license changed.
2002-01-162001-01-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* inline/rtems/posix/mutex.inl (_POSIX_Mutex_Get_support): Corrected name of routine in header.
2000-07-06Added support for converting a mutex id to a pointer and returningJoel Sherrill1-21/+39
with interrupts disabled.
1999-11-17Updated copyright notice.Joel Sherrill1-2/+1
1998-02-17updated copyright to 1998Joel Sherrill1-1/+1
1997-10-08Fixed typo in the pointer to the license terms.Joel Sherrill1-2/+2
1997-04-22headers updated to reflect new style copyright notice as partJoel Sherrill1-5/+5
of switching to the modified GNU GPL.
1996-08-12_POSIX_Mutex_Get: made null id an errorJoel Sherrill1-0/+5
1996-07-03switched from "STATIC INLINE" to "RTEMS_INLINE_ROUTINE"Joel Sherrill1-4/+4
1995-09-26posix support initially addedJoel Sherrill1-0/+88