3 // $Id: RW_Process_Mutex.inl 80826 2008-03-04 14:51:23Z wotte $
5 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
7 // Explicitly destroy the mutex.
9 ACE_RW_Process_Mutex::remove (void)
11 return this->lock_.remove ();
14 // Acquire lock ownership (wait on priority queue if necessary).
16 ACE_RW_Process_Mutex::acquire (void)
18 return this->lock_.acquire ();
21 // Conditionally acquire lock (i.e., don't wait on queue).
23 ACE_RW_Process_Mutex::tryacquire (void)
25 return this->lock_.tryacquire ();
28 // Release lock and unblock a thread at head of priority queue.
30 ACE_RW_Process_Mutex::release (void)
32 return this->lock_.release ();
35 // Acquire lock ownership (wait on priority queue if necessary).
37 ACE_RW_Process_Mutex::acquire_read (void)
39 return this->lock_.acquire_read ();
42 // Acquire lock ownership (wait on priority queue if necessary).
44 ACE_RW_Process_Mutex::acquire_write (void)
46 return this->lock_.acquire_write ();
49 // Conditionally acquire a lock (i.e., won't block).
51 ACE_RW_Process_Mutex::tryacquire_read (void)
53 return this->lock_.tryacquire_read ();
56 // Conditionally acquire a lock (i.e., won't block).
58 ACE_RW_Process_Mutex::tryacquire_write (void)
60 return this->lock_.tryacquire_write ();
63 // Conditionally upgrade a lock (i.e., won't block).
65 ACE_RW_Process_Mutex::tryacquire_write_upgrade (void)
67 return this->lock_.tryacquire_write_upgrade ();
70 ACE_INLINE const ACE_File_Lock &
71 ACE_RW_Process_Mutex::lock (void) const
73 // ACE_TRACE ("ACE_RW_Process_Mutex::lock");
77 ACE_END_VERSIONED_NAMESPACE_DECL