mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-10 04:54:20 +08:00
libgfortran: Use proper gthr.h API
libgfortran/ * io/async.c (init_adv_cond): Use __GTHREAD_COND_INIT_FUNCTION(). From-SVN: r268331
This commit is contained in:
parent
32ed8fa248
commit
92ab6b83cd
@ -1,3 +1,7 @@
|
||||
2019-01-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* io/async.c (init_adv_cond): Use __GTHREAD_COND_INIT_FUNCTION().
|
||||
|
||||
2019-01-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR libfortran/89020
|
||||
|
@ -224,7 +224,7 @@ init_adv_cond (struct adv_cond *ac)
|
||||
{
|
||||
ac->pending = 0;
|
||||
__GTHREAD_MUTEX_INIT_FUNCTION (&ac->lock);
|
||||
__gthread_cond_init_function (&ac->signal);
|
||||
__GTHREAD_COND_INIT_FUNCTION (&ac->signal);
|
||||
}
|
||||
|
||||
/* Initialize an asyncronous unit, returning zero on success,
|
||||
|
Loading…
Reference in New Issue
Block a user