This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
libgomp: gomp_ptrlock*() specification
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 8 Jul 2015 21:36:43 +0200 (CEST)
- Subject: libgomp: gomp_ptrlock*() specification
- Authentication-results: sourceware.org; auth=none
Hello,
from the use cases in libgomp it seems that you may set the value of a ptrlock object at most once via gomp_ptrlock_set() if it wasn't already initialized to a non-NULL value via gomp_ptrlock_init()? Is this correct?
Why is there a specialized Linux implementation? Is this to save one extra integer for the mutex?
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschÃftliche Mitteilung im Sinne des EHUG.