mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-29 16:30:19 +02:00
* coop.c: replace usage of struct timespect with scm_t_timespec.
#include <config.h> if HAVE_CONFIG_H.
This commit is contained in:
parent
2445400666
commit
fd291a5c13
1 changed files with 6 additions and 2 deletions
|
@ -40,10 +40,14 @@
|
||||||
* If you do not wish that, delete this exception notice. */
|
* If you do not wish that, delete this exception notice. */
|
||||||
|
|
||||||
|
|
||||||
/* $Id: coop.c,v 1.34 2002-11-04 15:43:00 mvo Exp $ */
|
/* $Id: coop.c,v 1.35 2003-03-25 23:54:01 rlb Exp $ */
|
||||||
|
|
||||||
/* Cooperative thread library, based on QuickThreads */
|
/* Cooperative thread library, based on QuickThreads */
|
||||||
|
|
||||||
|
#if HAVE_CONFIG_H
|
||||||
|
# include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
|
@ -390,7 +394,7 @@ coop_condition_variable_wait_mutex (coop_c *c, coop_m *m)
|
||||||
int
|
int
|
||||||
coop_condition_variable_timed_wait_mutex (coop_c *c,
|
coop_condition_variable_timed_wait_mutex (coop_c *c,
|
||||||
coop_m *m,
|
coop_m *m,
|
||||||
const struct timespec *abstime)
|
const scm_t_timespec *abstime)
|
||||||
{
|
{
|
||||||
coop_t *old, *t;
|
coop_t *old, *t;
|
||||||
#ifdef ETIMEDOUT
|
#ifdef ETIMEDOUT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue