17 | | * Atomic operations and OpenMP are not supported in GCC, see [https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65467 Bug 65467]. |
| 17 | * Atomic operations and OpenMP are not supported in GCC, see [https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65467 Bug 65467]. Due to this a `#include <rtems.h>` is not possible in files compiled with `-fopenmp`. |
| 18 | * The `gomp_new_team()` function uses |
| 19 | * one malloc() allocation, |
| 20 | * four mutex initializations, |
| 21 | * three semaphore initializations, and |
| 22 | * one barrier initialization. |
| 23 | |
| 24 | These resources are freed in `gomp_team_end()`. These are quite heavy weight operations on RTEMS. Possible performance improvements are the usage of a free list for teams or something similar to the Linux futex infrastructure used in the Linux configuration of libgomp. |