summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/mutex.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2002-07-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-07-011-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | * Mega patch merge to change the format of the object IDs to loosen the dependency between the SCORE and the various APIs. There was considerable work to simplify the object name management and it appears that the name_table field is no longer needed. This patch also includes the addition of the internal mutex which is currently only used to protect some types of allocation and deallocation. This significantly can reduce context switch latency under certain circumstances. In particular, some heap/region operations were O(n) and had dispatching disabled. This should help enormously. With this merge, the patch is not as clean as it should be. In particular, the documentation has not been modified to reflect the new object ID layout, the IDs in the test screens are not updated, and _Objects_Get_information needs to be a real routine not inlined. As part of this patch a lot of MP code for thread/proxy blocking was made conditional and cleaned up. * include/rtems/posix/key.h, src/cond.c, src/condinit.c, src/intr.c, src/key.c, src/keycreate.c, src/keydelete.c, src/killinfo.c, src/mqueue.c, src/mqueuecreatesupp.c, src/mutex.c, src/mutexinit.c, src/psignal.c, src/pthread.c, src/semaphore.c, src/semaphorecreatesupp.c: Modified as part of above.
* 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.
* Split mutex.c into multiple files.Joel Sherrill1999-11-021-702/+0
|
* Commented out lines causing warning.Joel Sherrill1999-11-021-0/+2
|
* Removed check for initialized ID at request of Rosimildo DaSilvaJoel Sherrill1999-05-141-0/+23
| | | | | <rdasilva@connecttel.com> who encountered random failures in his port of omniORB2.
* Added --disable-multiprocessing flag and modified a lot of files to makeJoel Sherrill1998-11-231-11/+45
| | | | it work.
* Fixed infinite recursion bug in PTHREAD_MUTEX_INITIALIZER.Joel Sherrill1997-08-221-10/+15
|
* pthread_mutex_setprioceiling: fixed bug where returned priority wasJoel Sherrill1996-09-051-1/+3
| | | | not converted from core priority to posix priority.
* pthread_mutex_init: added error messages for NULL mutex and EBUSYMark Johannes1996-08-191-6/+22
|
* changed ENOMEM error messageMark Johannes1996-08-151-1/+4
|
* fixed spacing ; moved a dummy MP support routine to clean up printout.Joel Sherrill1996-08-121-9/+10
|
* pthread_mutex_getprioceiling: added error check for null old_ceilingJoel Sherrill1996-08-121-2/+4
| | | | | pthread_mutex_setprioceiling: added comment indicating an error was impossible to generate.
* pthread_mutexattr_setprioceiling: fixed typoJoel Sherrill1996-08-121-1/+1
|
* pthread_mutexattr_setprioceiling: valid priority ceiling check looked atJoel Sherrill1996-08-121-1/+1
| | | | value in attribute structure instead of passed in priority
* pthread_mutexattr_getprotocol: added check for attribute structure beingJoel Sherrill1996-08-121-1/+1
| | | | initialized
* added code to catch NULL pointers for return values passed to get routinesJoel Sherrill1996-08-091-6/+9
|
* _POSIX_Mutex_From_core_mutex_status: added priority ceiling violation caseMark Johannes1996-08-071-0/+2
|
* POSIX_Mutex_Default_attributes: changed prio_ceiling to maximum priorityMark Johannes1996-08-061-1/+2
|
* basic test cases passedJoel Sherrill1996-07-041-4/+35
|
* clean up passJoel Sherrill1996-06-041-10/+14
|
* renamed _POSIX_Time_Spec_to_interval to _POSIX_Timespec_to_intervalJoel Sherrill1996-06-031-1/+1
|
* added checks to validate values passed to set attribute routinesJoel Sherrill1996-05-311-4/+19
|
* renamed signal.c to psignal.c to avoid naming problems.Joel Sherrill1996-05-291-0/+35
| | | | | | added mp stubs to cond.c and mutex.c to eliminate link errors. added pthread_exit to pthread.c
* comment cleanupJoel Sherrill1996-05-281-2/+1
|
* These files have been modified in the initial pass at getting the portionJoel Sherrill1996-05-221-2/+1
| | | | | | 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/+569