Jakub Jelinek
d3b41bde96
libgomp: Don't access gomp_sem_t as int using atomics unconditionally
...
This patch introduces gomp_sem_getcount wrapper, which uses sem_getvalue
for POSIX and atomic loads for linux futex and accel. rtems for now
remains broken.
2021-01-18 Jakub Jelinek <jakub@redhat.com>
* config/linux/sem.h (gomp_sem_getcount): New function.
* config/posix/sem.h (gomp_sem_getcount): New function.
* config/posix/sem.c (gomp_sem_getcount): New function.
* config/accel/sem.h (gomp_sem_getcount): New function.
* task.c (task_fulfilled_p): Use gomp_sem_getcount.
(omp_fulfill_event): Likewise.
2021-01-18 07:18:46 +01:00
..
2021-01-18 07:18:46 +01:00
2021-01-14 18:48:00 +01:00
2021-01-16 12:58:13 -08:00
2020-02-19 09:13:44 +01:00
2021-01-04 10:26:59 +01:00
2019-09-03 14:10:26 +00:00
2020-10-02 12:08:47 +02:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-17 00:16:23 +00:00
2020-08-03 18:13:00 +02:00
2021-01-14 18:48:00 +01:00
2020-07-23 15:02:15 +02:00
2021-01-15 13:16:42 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-16 12:58:13 -08:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-16 12:58:13 -08:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-16 12:58:13 -08:00
2021-01-16 12:58:13 -08:00
2021-01-01 17:45:07 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2020-11-05 10:32:56 -08:00
2020-11-05 10:32:56 -08:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2019-11-13 12:38:04 +00:00
2021-01-16 12:58:13 -08:00
2021-01-16 12:58:13 -08:00
2021-01-16 12:58:13 -08:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-16 12:58:13 -08:00
2021-01-16 12:58:13 -08:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00
2021-01-18 07:18:46 +01:00
2021-01-04 10:26:59 +01:00
2021-01-16 12:58:13 -08:00
2021-01-04 10:26:59 +01:00
2021-01-04 10:26:59 +01:00