[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT/PTHREAD-EMBEDDED PATCH v2 6/8] Disable atomic functions
Reviewed-by: Florian Schmidt <florian.schmidt@xxxxxxxxx> On 6/3/19 5:16 PM, Costin Lupu wrote: We disable the atomic function given that we are using them as macros. Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx> --- pte_osal.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pte_osal.c b/pte_osal.c index 5cbc0a2..23dcd01 100644 --- a/pte_osal.c +++ b/pte_osal.c @@ -450,6 +450,8 @@ pte_osResult pte_osSemaphoreCancellablePend(pte_osSemaphoreHandle h, return result; }+#if 0+/* We use macros instead */ /**************************************************************************** * * Atomic Operations @@ -489,6 +491,7 @@ int pte_osAtomicIncrement(int *pdest) { return atomic_add(pdest, 1); } +#endif/***************************************************************************** -- Dr. Florian Schmidt フローリアン・シュミット Research Scientist, Systems and Machine Learning Group NEC Laboratories Europe Kurfürsten-Anlage 36, D-69115 Heidelberg Tel. +49 (0)6221 4342-265 Fax: +49 (0)6221 4342-155 e-mail: florian.schmidt@xxxxxxxxx ============================================================ Registered at Amtsgericht Mannheim, Germany, HRB728558 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |