IOSAD-157 Docs for PEPQueue IOSAD-157
authorDirk Zimmermann <dz@pep.security>
Mon, 18 Nov 2019 15:54:57 +0100
branchIOSAD-157
changeset 1334e5237f361e4f
parent 1333 d6ca31b3bfce
child 1335 708d2520d5ba
IOSAD-157 Docs for PEPQueue
pEpObjCAdapter/PEPQueue.h
     1.1 --- a/pEpObjCAdapter/PEPQueue.h	Mon Nov 18 09:30:18 2019 +0100
     1.2 +++ b/pEpObjCAdapter/PEPQueue.h	Mon Nov 18 15:54:57 2019 +0100
     1.3 @@ -10,8 +10,12 @@
     1.4  
     1.5  typedef void (^deleteOp)(id);
     1.6  
     1.7 +/// FiFo queue.
     1.8  @interface PEPQueue : NSObject
     1.9  
    1.10 +/// Puts an object into the queue (FiFo, first in, first out, so that the objects
    1.11 +/// that were put in before are dequeued before this one).
    1.12 +/// @param object The object to put into the queue.
    1.13  - (void)enqueue:(id)object;
    1.14  
    1.15  - (id)timedDequeue:(time_t*)timeout;