diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-01-09 22:08:31 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-01-09 22:08:31 +0000 |
commit | 4d3200628dc294e793b5a7512141de4c1f09649c (patch) | |
tree | 4e6d12167019f6de6fb1f6cbf330911911db4671 /cpukit/posix/include/rtems/posix/cond.h | |
parent | 2008-01-09 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-4d3200628dc294e793b5a7512141de4c1f09649c.tar.bz2 |
2008-01-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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.
Diffstat (limited to 'cpukit/posix/include/rtems/posix/cond.h')
-rw-r--r-- | cpukit/posix/include/rtems/posix/cond.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cpukit/posix/include/rtems/posix/cond.h b/cpukit/posix/include/rtems/posix/cond.h index a692ad462f..1df16380e5 100644 --- a/cpukit/posix/include/rtems/posix/cond.h +++ b/cpukit/posix/include/rtems/posix/cond.h @@ -158,6 +158,21 @@ int _POSIX_Condition_variables_Wait_support( boolean already_timedout ); +/* + * _POSIX_Condition_variables_Get + * + * DESCRIPTION: + * + * A support routine which translates the condition variable id into + * a local pointer. As a side-effect, it may create the condition + * variable. + */ + +POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get ( + pthread_cond_t *cond, + Objects_Locations *location +); + #include <rtems/posix/cond.inl> #ifdef __cplusplus |