summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/cond.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-07-012002-07-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-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-242001-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-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.
1999-11-02Split condition variables into multiple files.Joel Sherrill1-482/+0
1998-11-23Added --disable-multiprocessing flag and modified a lot of files to makeJoel Sherrill1-6/+29
it work.
1997-10-06Added _Thread_Enable_dispatch to already_timedout path on Wait_support.Joel Sherrill1-2/+3
1997-03-08Added commit to indicate exepcted _Thread_Dispatch_disable_level. HopefullyJoel Sherrill1-0/+4
no one will ever get confused here again and try to enable dispatching. :(
1996-09-17Corrected implementation of timed wait on condition variables. FirstJoel Sherrill1-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.
1996-08-27check that we were passed a valid mutex and ignore errors from theJoel Sherrill1-0/+8
later pthread_mutex_lock. This makes our behavior more compatible with that of FSU pthreads.
1996-08-14pthread_cond_timedwait: added error cases for abstimeMark Johannes1-0/+11
1996-08-13pthread_cond_destroy: added enable dispatch to EBUSY caseMark Johannes1-1/+3
1996-08-13pthread_codn_destroy: EBUSY case moved and uses Thread_queue_FirstMark Johannes1-3/+3
1996-08-13pthread_cond_destroy: EBUSY case now uses Thread_queue_FirstMark Johannes1-1/+1
1996-08-13_POSIX_Condition_variables_Wait_support: changed status of lock and unlock ↵Mark Johannes1-2/+2
to return EINVAL is there is an error
1996-08-13_POSIX_Condition_variables_Wait_support: fixed the timeout sequence.Mark Johannes1-7/+25
1996-08-12Wait_support: removed the calls to mutex core to posix status codesMark Johannes1-2/+2
1996-08-12_POSIX_Condition_variables_Wait_support: added ↵Mark Johannes1-4/+5
_POSIX_Mutex_From_core_mutex_status for the two calls to the mutex manager
1996-08-12_POSIX_Condition_variables_Signal_support: added setting mutex back to NULLMark Johannes1-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
1996-06-03renamed _POSIX_Time_Spec_to_interval to _POSIX_Timespec_to_intervalJoel Sherrill1-1/+1
1996-05-31added checks to validate values passed to set attribute routinesJoel Sherrill1-2/+9
1996-05-29comment clean upJoel Sherrill1-2/+1
1996-05-29renamed signal.c to psignal.c to avoid naming problems.Joel Sherrill1-0/+25
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/+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.
1995-12-08added correct use of _Thread_queue_Enter_critical_sectionJoel Sherrill1-0/+1
1995-10-06fixed missing CVS IDsJoel Sherrill1-0/+1
1995-09-26posix support initially addedJoel Sherrill1-0/+398