Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

SV_Semaphore_Complex.i

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 // $Id: SV_Semaphore_Complex.i,v 1.1.1.2 2001/12/04 14:33:08 chad Exp $
00003 
00004 // SV_Semaphore_Complex.i
00005 
00006 #include "ace/Trace.h"
00007 
00008 ASYS_INLINE int 
00009 ACE_SV_Semaphore_Complex::acquire (u_short n, int flags) const
00010 {
00011   ACE_TRACE ("ACE_SV_Semaphore_Complex::acquire");
00012   return ACE_SV_Semaphore_Simple::acquire ((u_short) n + 2, flags);
00013 }
00014 
00015 ASYS_INLINE int 
00016 ACE_SV_Semaphore_Complex::acquire_read (u_short n, int flags) const
00017 {
00018   ACE_TRACE ("ACE_SV_Semaphore_Complex::acquire_read");
00019   return this->acquire (n, flags);
00020 }
00021 
00022 ASYS_INLINE int 
00023 ACE_SV_Semaphore_Complex::acquire_write (u_short n, int flags) const
00024 {
00025   ACE_TRACE ("ACE_SV_Semaphore_Complex::acquire_write");
00026   return this->acquire (n, flags);
00027 }
00028 
00029 ASYS_INLINE int 
00030 ACE_SV_Semaphore_Complex::tryacquire (u_short n, int flags) const
00031 {
00032   ACE_TRACE ("ACE_SV_Semaphore_Complex::tryacquire");
00033   return ACE_SV_Semaphore_Simple::tryacquire ((u_short) n + 2, flags);
00034 }
00035 
00036 ASYS_INLINE int 
00037 ACE_SV_Semaphore_Complex::tryacquire_read (u_short n, int flags) const
00038 {
00039   ACE_TRACE ("ACE_SV_Semaphore_Complex::tryacquire_read");
00040   return this->tryacquire (n, flags);
00041 }
00042 
00043 ASYS_INLINE int 
00044 ACE_SV_Semaphore_Complex::tryacquire_write (u_short n, int flags) const
00045 {
00046   ACE_TRACE ("ACE_SV_Semaphore_Complex::tryacquire_write");
00047   return this->tryacquire (n, flags);
00048 }
00049 
00050 ASYS_INLINE int 
00051 ACE_SV_Semaphore_Complex::release (u_short n, int flags) const
00052 {
00053   ACE_TRACE ("ACE_SV_Semaphore_Complex::release");
00054   return ACE_SV_Semaphore_Simple::release ((u_short) n + 2, flags);
00055 }
00056 
00057 ASYS_INLINE int 
00058 ACE_SV_Semaphore_Complex::op (int val, u_short n, int flags) const
00059 {
00060   ACE_TRACE ("ACE_SV_Semaphore_Complex::op");
00061   return ACE_SV_Semaphore_Simple::op (val, (u_short) n + 2, flags);
00062 }
00063 
00064 ASYS_INLINE int 
00065 ACE_SV_Semaphore_Complex::op (sembuf op_vec[], u_short n) const
00066 {
00067   ACE_TRACE ("ACE_SV_Semaphore_Complex::op");
00068   return ACE_SV_Semaphore_Simple::op (op_vec, (u_short) n + 2);
00069 }
00070 
00071 ASYS_INLINE int 
00072 ACE_SV_Semaphore_Complex::control (int cmd, semun arg, u_short n) const
00073 {
00074   ACE_TRACE ("ACE_SV_Semaphore_Complex::control");
00075   return ACE_SV_Semaphore_Simple::control (cmd, arg, (u_short) n + 2);
00076 }
00077 
00078 ASYS_INLINE int 
00079 ACE_SV_Semaphore_Complex::control (int cmd, int value, u_short n) const
00080 {
00081   ACE_TRACE ("ACE_SV_Semaphore_Complex::control");
00082   return ACE_SV_Semaphore_Simple::control (cmd, value, (u_short) n + 2);
00083 }

Generated on Mon Jun 16 11:21:32 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002