summaryrefslogtreecommitdiff
path: root/ace/SV_Semaphore_Simple.i
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-02 02:31:08 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-02 02:31:08 +0000
commit09593654ece6c713b2690f7dd5cc0cc42f9ff1bf (patch)
treed3c213e139b90e270be9a81875818cfa5a701ed4 /ace/SV_Semaphore_Simple.i
parent12d1056218c5f7f7ed7664da05d9ea4faaaf5b86 (diff)
downloadATCD-09593654ece6c713b2690f7dd5cc0cc42f9ff1bf.tar.gz
hello
Diffstat (limited to 'ace/SV_Semaphore_Simple.i')
-rw-r--r--ace/SV_Semaphore_Simple.i22
1 files changed, 0 insertions, 22 deletions
diff --git a/ace/SV_Semaphore_Simple.i b/ace/SV_Semaphore_Simple.i
index 1679dd724c6..e4c9fb8d3e1 100644
--- a/ace/SV_Semaphore_Simple.i
+++ b/ace/SV_Semaphore_Simple.i
@@ -19,21 +19,6 @@ ACE_SV_Semaphore_Simple::control (int cmd,
-1 : ACE_OS::semctl (this->internal_id_, semnum, cmd, arg);
}
-// Remove all SV_Semaphores associated with a particular key. This
-// call is intended to be called from a server, for example, when it
-// is being shut down, as we do an IPC_RMID on the ACE_SV_Semaphore,
-// regardless of whether other processes may be using it or not. Most
-// other processes should use close() below.
-
-inline int
-ACE_SV_Semaphore_Simple::remove (void) const
-{
- ACE_TRACE ("ACE_SV_Semaphore_Simple::remove");
- int result = this->control (IPC_RMID);
- ((ACE_SV_Semaphore_Simple *) this)->init ();
- return result;
-}
-
// Close a ACE_SV_Semaphore, marking it as invalid for subsequent
// operations...
@@ -54,13 +39,6 @@ ACE_SV_Semaphore_Simple::op (sembuf op_vec[], int n) const
? -1 : ACE_OS::semop (this->internal_id_, op_vec, n);
}
-inline
-ACE_SV_Semaphore_Simple::ACE_SV_Semaphore_Simple (void)
-{
- ACE_TRACE ("ACE_SV_Semaphore_Simple::ACE_SV_Semaphore_Simple");
- this->init ();
-}
-
// Wait until a ACE_SV_Semaphore's value is greater than 0, the
// decrement it by 1 and return. Dijkstra's P operation, Tannenbaums
// DOWN operation.