Subversion Repositories HelenOS-historic

Rev

Rev 1502 | Rev 1705 | 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 Synchronization
-
 
30
 * @ingroup kernel
-
 
31
 * @{
-
 
32
 */
-
 
33
 
29
/**
34
/**
30
 * @file    condvar.c
35
 * @file
31
 * @brief   Condition variables.
36
 * @brief   Condition variables.
32
 */
37
 */
33
 
38
 
34
#include <synch/condvar.h>
39
#include <synch/condvar.h>
35
#include <synch/mutex.h>
40
#include <synch/mutex.h>
Line 97... Line 102...
97
    mutex_lock(mtx);
102
    mutex_lock(mtx);
98
    waitq_sleep_finish(&cv->wq, rc, ipl);
103
    waitq_sleep_finish(&cv->wq, rc, ipl);
99
 
104
 
100
    return rc;
105
    return rc;
101
}
106
}
-
 
107
 
-
 
108
 /** @}
-
 
109
 */
-
 
110