//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
/**
* @class Monitor
- * @brief This represents a monitor; a type of synchronization mechanism that provides acquire/release semantics by Enter() / Exit() as well as wait/notify semantics by Wait() / Notify() / NotifyAll().
+ * @brief This class represents a monitor that is a type of synchronization mechanism.
*
* @since 2.0
*
* @return An error code
* @exception E_SUCCESS The method is successful in acquiring the lock.
* @exception E_SYSTEM A system error has occurred.
- * @remarks This method will block if called on already locked monitor object until monitor becomes availalbe.
+ * @remarks This method will block if called on already locked monitor object until monitor becomes available.
* @see Exit()
*/
result Enter(void);
* @exception E_SUCCESS The method is successful.
* @exception E_SYSTEM A system error has occurred.
* @remarks This method should be called only after acquiring lock by Enter() call
- * @see Notify(), NotifyAll()
+ * @see Notify()
+ * @see NotifyAll()
*/
result Wait(void);
* @return An error code
* @exception E_SUCCESS The method is successful.
* @exception E_SYSTEM A system error has occurred.
- * @see NotifyAll(), Wait()
+ * @see NotifyAll()
+ * @see Wait()
*/
result Notify(void);
* @return An error code
* @exception E_SUCCESS The method is successful.
* @exception E_SYSTEM A system error has occurred.
- * @see Notify(), Wait()
+ * @see Notify()
+ * @see Wait()
*/
result NotifyAll(void);