* coop.c (coop_condition_variable_timed_wait_mutex): Use ETIMEDOUT
instead of ETIME.
This commit is contained in:
parent
14d2005d86
commit
bc5329cc8b
1 changed files with 3 additions and 3 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue