* io/async.h: Use __gthread_mutex_t, not pthread_mutex_t.

From-SVN: r264120
This commit is contained in:
Hans-Peter Nilsson 2018-09-05 10:28:45 +00:00 committed by Hans-Peter Nilsson
parent c0bb504785
commit a79878585a
2 changed files with 6 additions and 2 deletions

View 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

View 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
{