Subversion Repositories HelenOS-historic

Rev

Rev 1502 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1502 Rev 1702
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
-
 
29
 /** @addtogroup sync
-
 
30
 * @{
-
 
31
 */
-
 
32
 
29
/**
33
/**
30
 * @file    mutex.c
34
 * @file
31
 * @brief   Mutexes.
35
 * @brief   Mutexes.
32
 */
36
 */
33
 
37
 
34
#include <synch/mutex.h>
38
#include <synch/mutex.h>
35
#include <synch/semaphore.h>
39
#include <synch/semaphore.h>
Line 74... Line 78...
74
void mutex_unlock(mutex_t *mtx)
78
void mutex_unlock(mutex_t *mtx)
75
{
79
{
76
    semaphore_up(&mtx->sem);
80
    semaphore_up(&mtx->sem);
77
}
81
}
78
 
82
 
-
 
83
 
-
 
84
 /** @}
-
 
85
 */
-
 
86