revert between 56095 -> 55830 in arch
[AROS.git] / rom / exec / semaphores.h
blobdbfb7e942a9bdd80d893b654b0c188bf71dbf7f1
1 /*
2 Copyright © 1995-2017, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Private definitions of semaphore internals
6 Lang:
7 */
9 #include <aros/config.h>
11 #if defined(__AROSEXEC_SMP__)
12 #include <aros/types/spinlock_s.h>
13 #endif
15 struct TraceLocation;
17 BOOL CheckSemaphore(struct SignalSemaphore *sigSem, struct TraceLocation *caller, struct ExecBase *SysBase);
18 void InternalObtainSemaphore(struct SignalSemaphore *sigSem, struct Task *owner, struct TraceLocation *caller, struct ExecBase *SysBase);
19 ULONG InternalAttemptSemaphore(struct SignalSemaphore *sigSem, struct Task *owner, struct TraceLocation *caller, struct ExecBase *SysBase);