summaryrefslogtreecommitdiff
path: root/ace/SV_Semaphore_Simple.i
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-30 23:25:53 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-30 23:25:53 +0000
commitcf07f9f8a6874e0cba173df813056f37c78b3ace (patch)
tree639ad21e50551cc2a89c31b7ad63186e857a9fdb /ace/SV_Semaphore_Simple.i
parentf7897d95a4fb9acffc0c17b90061040825a405fc (diff)
downloadATCD-cf07f9f8a6874e0cba173df813056f37c78b3ace.tar.gz
Added control for default inlined-functions.
Diffstat (limited to 'ace/SV_Semaphore_Simple.i')
-rw-r--r--ace/SV_Semaphore_Simple.i22
1 files changed, 11 insertions, 11 deletions
diff --git a/ace/SV_Semaphore_Simple.i b/ace/SV_Semaphore_Simple.i
index f17c1097beb..e18acd95a84 100644
--- a/ace/SV_Semaphore_Simple.i
+++ b/ace/SV_Semaphore_Simple.i
@@ -5,7 +5,7 @@
#include "ace/Trace.h"
-inline int
+ASYS_INLINE int
ACE_SV_Semaphore_Simple::control (int cmd,
semun arg,
u_short n) const
@@ -18,7 +18,7 @@ ACE_SV_Semaphore_Simple::control (int cmd,
// Close a ACE_SV_Semaphore, marking it as invalid for subsequent
// operations...
-inline int
+ASYS_INLINE int
ACE_SV_Semaphore_Simple::close (void)
{
ACE_TRACE ("ACE_SV_Semaphore_Simple::close");
@@ -27,7 +27,7 @@ ACE_SV_Semaphore_Simple::close (void)
// General ACE_SV_Semaphore operation on an array of SV_Semaphores.
-inline int
+ASYS_INLINE int
ACE_SV_Semaphore_Simple::op (sembuf op_vec[], u_short n) const
{
ACE_TRACE ("ACE_SV_Semaphore_Simple::op");
@@ -39,21 +39,21 @@ ACE_SV_Semaphore_Simple::op (sembuf op_vec[], u_short n) const
// decrement it by 1 and return. Dijkstra's P operation, Tannenbaums
// DOWN operation.
-inline int
+ASYS_INLINE int
ACE_SV_Semaphore_Simple::acquire (u_short n, int flags) const
{
ACE_TRACE ("ACE_SV_Semaphore_Simple::acquire");
return this->op (-1, n, flags);
}
-inline int
+ASYS_INLINE int
ACE_SV_Semaphore_Simple::acquire_read (u_short n, int flags) const
{
ACE_TRACE ("ACE_SV_Semaphore_Simple::acquire_read");
return this->acquire (n, flags);
}
-inline int
+ASYS_INLINE int
ACE_SV_Semaphore_Simple::acquire_write (u_short n, int flags) const
{
ACE_TRACE ("ACE_SV_Semaphore_Simple::acquire_write");
@@ -62,7 +62,7 @@ ACE_SV_Semaphore_Simple::acquire_write (u_short n, int flags) const
// Non-blocking version of acquire().
-inline int
+ASYS_INLINE int
ACE_SV_Semaphore_Simple::tryacquire (u_short n, int flags) const
{
ACE_TRACE ("ACE_SV_Semaphore_Simple::tryacquire");
@@ -71,7 +71,7 @@ ACE_SV_Semaphore_Simple::tryacquire (u_short n, int flags) const
// Non-blocking version of acquire().
-inline int
+ASYS_INLINE int
ACE_SV_Semaphore_Simple::tryacquire_read (u_short n, int flags) const
{
ACE_TRACE ("ACE_SV_Semaphore_Simple::tryacquire_read");
@@ -80,7 +80,7 @@ ACE_SV_Semaphore_Simple::tryacquire_read (u_short n, int flags) const
// Non-blocking version of acquire().
-inline int
+ASYS_INLINE int
ACE_SV_Semaphore_Simple::tryacquire_write (u_short n, int flags) const
{
ACE_TRACE ("ACE_SV_Semaphore_Simple::tryacquire_write");
@@ -90,14 +90,14 @@ ACE_SV_Semaphore_Simple::tryacquire_write (u_short n, int flags) const
// Increment ACE_SV_Semaphore by one. Dijkstra's V operation,
// Tannenbaums UP operation.
-inline int
+ASYS_INLINE int
ACE_SV_Semaphore_Simple::release (u_short n, int flags) const
{
ACE_TRACE ("ACE_SV_Semaphore_Simple::release");
return this->op (1, n, flags);
}
-inline int
+ASYS_INLINE int
ACE_SV_Semaphore_Simple::get_id (void) const
{
ACE_TRACE ("ACE_SV_Semaphore_Simple::get_id");