From bc5329cc8b8b6b62eccf4cd478d4f59087758d1a Mon Sep 17 00:00:00 2001 From: Mikael Djurfeldt Date: Sun, 12 Mar 2000 01:48:04 +0000 Subject: [PATCH] * coop.c (coop_condition_variable_timed_wait_mutex): Use ETIMEDOUT instead of ETIME. --- libguile/coop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libguile/coop.c b/libguile/coop.c index c3db5be17..f676ea0c0 100644 --- a/libguile/coop.c +++ b/libguile/coop.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -40,7 +40,7 @@ * If you do not wish that, delete this exception notice. */ -/* $Id: coop.c,v 1.17 2000-03-12 00:33:56 mdj Exp $ */ +/* $Id: coop.c,v 1.18 2000-03-12 01:48:04 mdj Exp $ */ /* Cooperative thread library, based on QuickThreads */ @@ -373,7 +373,7 @@ coop_condition_variable_timed_wait_mutex (coop_c *c, const struct timespec *abstime) { coop_t *old, *t; - int res = ETIME; + int res = ETIMEDOUT; /* coop_mutex_unlock (m); */ t = coop_qget (&(m->waiting));