]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgomp/doc/openmp-runtime-library-routines/ompfulfillevent.rst
sphinx: add missing trailing newline
[thirdparty/gcc.git] / libgomp / doc / openmp-runtime-library-routines / ompfulfillevent.rst
1 ..
2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
5
6 .. _omp_fulfill_event:
7
8 omp_fulfill_event -- Fulfill and destroy an OpenMP event
9 ********************************************************
10
11 Description:
12 Fulfill the event associated with the event handle argument. Currently, it
13 is only used to fulfill events generated by detach clauses on task
14 constructs - the effect of fulfilling the event is to allow the task to
15 complete.
16
17 The result of calling ``omp_fulfill_event`` with an event handle other
18 than that generated by a detach clause is undefined. Calling it with an
19 event handle that has already been fulfilled is also undefined.
20
21 C/C++:
22 .. list-table::
23
24 * - *Prototype*:
25 - ``void omp_fulfill_event(omp_event_handle_t event);``
26
27 Fortran:
28 .. list-table::
29
30 * - *Interface*:
31 - ``subroutine omp_fulfill_event(event)``
32 * -
33 - ``integer (kind=omp_event_handle_kind) :: event``
34
35 Reference:
36 :openmp:`5.0`, Section 3.5.1.