summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/cond.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2002-07-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-07-011-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | * 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 condition variables into multiple files.Joel Sherrill1999-11-021-482/+0
|
* Added --disable-multiprocessing flag and modified a lot of files to makeJoel Sherrill1998-11-231-6/+29
| | | | it work.
* Added _Thread_Enable_dispatch to already_timedout path on Wait_support.Joel Sherrill1997-10-061-2/+3
|
* Added commit to indicate exepcted _Thread_Dispatch_disable_level. HopefullyJoel Sherrill1997-03-081-0/+4
| | | | no one will ever get confused here again and try to enable dispatching. :(
* Corrected implementation of timed wait on condition variables. FirstJoel Sherrill1996-09-171-29/+52
| | | | | | | | the timeout is given as a wall-time not an interval as was previously implemented. Second, the interpretation of ETIMEDOUT behavior was incorrect as all possible error cases needed to be checked before this error was returned. This caused problems when the wall-time specified was in the past.
* check that we were passed a valid mutex and ignore errors from theJoel Sherrill1996-08-271-0/+8
| | | | | later pthread_mutex_lock. This makes our behavior more compatible with that of FSU pthreads.
* pthread_cond_timedwait: added error cases for abstimeMark Johannes1996-08-141-0/+11
|
* pthread_cond_destroy: added enable dispatch to EBUSY caseMark Johannes1996-08-131-1/+3
|
* pthread_codn_destroy: EBUSY case moved and uses Thread_queue_FirstMark Johannes1996-08-131-3/+3
|
* pthread_cond_destroy: EBUSY case now uses Thread_queue_FirstMark Johannes1996-08-131-1/+1
|
* _POSIX_Condition_variables_Wait_support: changed status of lock and unlock ↵Mark Johannes1996-08-131-2/+2
| | | | to return EINVAL is there is an error
* _POSIX_Condition_variables_Wait_support: fixed the timeout sequence.Mark Johannes1996-08-131-7/+25
|
* Wait_support: removed the calls to mutex core to posix status codesMark Johannes1996-08-121-2/+2
|
* _POSIX_Condition_variables_Wait_support: added ↵Mark Johannes1996-08-121-4/+5
| | | | _POSIX_Mutex_From_core_mutex_status for the two calls to the mutex manager
* _POSIX_Condition_variables_Signal_support: added setting mutex back to NULLMark Johannes1996-08-121-5/+7
| | | | | | if the queue has been emptied of waiting tasks. _POSIX_Condition_variables_Wait_support: added error check for different mutexesfor the same condition variable. Also added _Thread_queue_Enter_critical_section
* 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-2/+9
|
* comment clean upJoel Sherrill1996-05-291-2/+1
|
* renamed signal.c to psignal.c to avoid naming problems.Joel Sherrill1996-05-291-0/+25
| | | | | | 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/+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.
* added correct use of _Thread_queue_Enter_critical_sectionJoel Sherrill1995-12-081-0/+1
|
* fixed missing CVS IDsJoel Sherrill1995-10-061-0/+1
|
* posix support initially addedJoel Sherrill1995-09-261-0/+398