From ecfd182a2e6c0d20f074c83ec19505ff57e8fc8c Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Fri, 10 Aug 2007 10:24:34 +1000 Subject: [PATCH] Add queue/controller level opaque pointer for units to coordinate controller access r2103 | dcl | 2007-08-10 10:24:34 +1000 (Fri, 10 Aug 2007) | 2 lines --- asyncqueue.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/asyncqueue.h b/asyncqueue.h index c066d284..f27e16f8 100644 --- a/asyncqueue.h +++ b/asyncqueue.h @@ -175,4 +175,12 @@ int AsyncQueueFactory(SConnection *pCon, SicsInterp *pSics, int AsyncQueueAction(SConnection *pCon, SicsInterp *pSics, void *pData, int argc, char *argv[]); +/** \brief store queue level context + */ +void* AsyncUnitSetQueueContext(pAsyncUnit handle, void* cntx); + +/** \brief retrieve queue level context + */ +void* AsyncUnitGetQueueContext(pAsyncUnit handle); + #endif /* SICSASYNCQUEUE */