2 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
4 // Explicitly destroy the mutex.
6 ACE_RW_Process_Mutex::remove ()
8 return this->lock_.remove ();
11 // Acquire lock ownership (wait on priority queue if necessary).
13 ACE_RW_Process_Mutex::acquire ()
15 return this->lock_.acquire ();
18 // Conditionally acquire lock (i.e., don't wait on queue).
20 ACE_RW_Process_Mutex::tryacquire ()
22 return this->lock_.tryacquire ();
25 // Release lock and unblock a thread at head of priority queue.
27 ACE_RW_Process_Mutex::release ()
29 return this->lock_.release ();
32 // Acquire lock ownership (wait on priority queue if necessary).
34 ACE_RW_Process_Mutex::acquire_read ()
36 return this->lock_.acquire_read ();
39 // Acquire lock ownership (wait on priority queue if necessary).
41 ACE_RW_Process_Mutex::acquire_write ()
43 return this->lock_.acquire_write ();
46 // Conditionally acquire a lock (i.e., won't block).
48 ACE_RW_Process_Mutex::tryacquire_read ()
50 return this->lock_.tryacquire_read ();
53 // Conditionally acquire a lock (i.e., won't block).
55 ACE_RW_Process_Mutex::tryacquire_write ()
57 return this->lock_.tryacquire_write ();
60 // Conditionally upgrade a lock (i.e., won't block).
62 ACE_RW_Process_Mutex::tryacquire_write_upgrade ()
64 return this->lock_.tryacquire_write_upgrade ();
67 ACE_INLINE const ACE_File_Lock &
68 ACE_RW_Process_Mutex::lock () const
70 // ACE_TRACE ("ACE_RW_Process_Mutex::lock");
74 ACE_END_VERSIONED_NAMESPACE_DECL