From 20bde806133280f6b59af8764c115b8154bb1611 Mon Sep 17 00:00:00 2001 From: NicJA Date: Thu, 30 Apr 2015 10:52:43 +0000 Subject: [PATCH] add necessary tasklist spinlocks git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50522 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- rom/exec/exec_intern.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rom/exec/exec_intern.h b/rom/exec/exec_intern.h index 12a4575642..abd3f1dda7 100644 --- a/rom/exec/exec_intern.h +++ b/rom/exec/exec_intern.h @@ -18,6 +18,10 @@ #include +#if defined(__AROSEXEC_SMP__) +#include +#endif + #define ALERT_BUFFER_SIZE 2048 /* Internals of this structure are host-specific, we don't know them here */ @@ -41,6 +45,10 @@ struct IntExecBase struct MinList AllocMemList; /* Mungwall allocations list */ struct SignalSemaphore MemListSem; /* Memory list protection semaphore */ struct SignalSemaphore LowMemSem; /* Lock for single-threading low memory handlers */ +#if defined(__AROSEXEC_SMP__) + spinlock_t TaskReadySpinLock; + spinlock_t TaskWaitSpinLock; +#endif APTR KernelBase; /* kernel.resource base */ struct Library *DebugBase; /* debug.library base */ ULONG PageSize; /* Memory page size */ -- 2.11.4.GIT