aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2018-09-05 10:28:45 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2018-09-05 10:28:45 +0000
commita79878585a1c5e32bafbc6d1e73f91fd6e4293bf (patch)
treebcc8eee7951cf2b1547499ddfee7a73d4d1dca4d /libgfortran/io
parentc0bb504785e223ce1b1f93a9bb7b114d49ea6d57 (diff)
downloadgcc-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/io')
-rw-r--r--libgfortran/io/async.h4
1 files changed, 2 insertions, 2 deletions
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
{