Skip to content
Snippets Groups Projects
Commit decbb5bf authored by LIU Hao's avatar LIU Hao Committed by Jonathan Yong
Browse files

libgfortran: Use `__gthread_t` instead of `pthread_t`


It used to cause errors if a thread model other than `posix` was selected,
which looks like a leftover from a7987858.

libgfortran/
	* io/async.h (struct async_unit): Use `__gthread_t` instead
	of `pthread_t`.

Signed-off-by: default avatarLIU Hao <lh_mouse@126.com>
Signed-off-by: default avatarJonathan Yong <10walls@gmail.com>
parent 570eb458
No related branches found
No related tags found
No related merge requests found
......@@ -351,7 +351,7 @@ typedef struct async_unit
struct adv_cond work;
struct adv_cond emptysignal;
struct st_parameter_dt *pdt;
pthread_t thread;
__gthread_t thread;
struct transfer_queue *head;
struct transfer_queue *tail;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment