summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src/semaphorecreatesupp.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-01 22:33:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-01 22:33:47 +0000
commit3c46587833f88c89314050674a81d8e9ed6e6f80 (patch)
treef0926bbad67f5213ecbe1d67d20226c2cb6f525e /c/src/exec/posix/src/semaphorecreatesupp.c
parent2002-07-01 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-3c46587833f88c89314050674a81d8e9ed6e6f80.tar.bz2
2002-07-01 Joel Sherrill <joel@OARcorp.com>
* 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.
Diffstat (limited to '')
-rw-r--r--c/src/exec/posix/src/semaphorecreatesupp.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/c/src/exec/posix/src/semaphorecreatesupp.c b/c/src/exec/posix/src/semaphorecreatesupp.c
index e45d4d808a..86b1179660 100644
--- a/c/src/exec/posix/src/semaphorecreatesupp.c
+++ b/c/src/exec/posix/src/semaphorecreatesupp.c
@@ -100,13 +100,7 @@ int _POSIX_Semaphore_Create_support(
the_sem_attr->maximum_count = 0xFFFFFFFF;
- _CORE_semaphore_Initialize(
- &the_semaphore->Semaphore,
- OBJECTS_POSIX_SEMAPHORES,
- the_sem_attr,
- value,
- NULL /* multiprocessing is not supported */
- );
+ _CORE_semaphore_Initialize( &the_semaphore->Semaphore, the_sem_attr, value );
/*
* Make the semaphore available for use.