]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* io/async.h: Use __gthread_mutex_t, not pthread_mutex_t.
authorHans-Peter Nilsson <hp@axis.com>
Wed, 5 Sep 2018 10:28:45 +0000 (10:28 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Wed, 5 Sep 2018 10:28:45 +0000 (10:28 +0000)
From-SVN: r264120

libgfortran/ChangeLog
libgfortran/io/async.h

index ca5e7b91a95b15522e0b41ce06d2c4b0871cd4b8..6287b2b9dff94aeaeb4373d878407dae58257b02 100644 (file)
@@ -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
index 4ddb498069cb4ba988f14422451605e4884bb12a..c747bc5aa7b69f7e861c23dec432f970dff0b642 100644 (file)
@@ -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
   {