diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2018-09-05 10:28:45 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2018-09-05 10:28:45 +0000 |
commit | a79878585a1c5e32bafbc6d1e73f91fd6e4293bf (patch) | |
tree | bcc8eee7951cf2b1547499ddfee7a73d4d1dca4d /libgfortran | |
parent | c0bb504785e223ce1b1f93a9bb7b114d49ea6d57 (diff) | |
download | gcc-a79878585a1c5e32bafbc6d1e73f91fd6e4293bf.zip gcc-a79878585a1c5e32bafbc6d1e73f91fd6e4293bf.tar.gz gcc-a79878585a1c5e32bafbc6d1e73f91fd6e4293bf.tar.bz2 |
* io/async.h: Use __gthread_mutex_t, not pthread_mutex_t.
From-SVN: r264120
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 4 | ||||
-rw-r--r-- | libgfortran/io/async.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index ca5e7b9..6287b2b 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,7 @@ +2018-09-05 Hans-Peter Nilsson <hp@axis.com> + + * io/async.h: Use __gthread_mutex_t, not pthread_mutex_t. + 2018-09-01 Jerry DeLisle <jvdelisle@gcc.gnu.org> * io/io.h: Change declaration of vlist type to diff --git a/libgfortran/io/async.h b/libgfortran/io/async.h index 4ddb498..c747bc5 100644 --- a/libgfortran/io/async.h +++ b/libgfortran/io/async.h @@ -337,8 +337,8 @@ struct adv_cond typedef struct async_unit { - pthread_mutex_t io_lock; /* Lock for doing actual I/O. */ - pthread_mutex_t lock; /* Lock for manipulating the queue structure. */ + __gthread_mutex_t io_lock; /* Lock for doing actual I/O. */ + __gthread_mutex_t lock; /* Lock for manipulating the queue structure. */ bool empty; struct { |