p2
0.0
|
Non-blocking synchronization.with lock-free concurrent bags (c) 2011 Håkan Sundell, Anders Gidenstam, Marina Papatriantafilou, Philippas Tsigas See http://www.cse.chalmers.se/~tsigas/papers/Lock%20Free%20Bag%20SPAA11.pdf. More...
Go to the source code of this file.
Data Structures | |
struct | blockp_t |
struct | block_t |
Functions | |
void | Mark1Block (block_t *block) |
block_t * | NewBlock () |
void | NotifyAll (block_t *block) |
void | NotifyStart (block_t *block, int Id) |
bool | NotifyCheck (block_t *block, int Id) |
void | InitBag () |
void | InitThread () |
void | Add (void *item) |
void * | TryRemoveAny () |
void * | TryStealBlock (int round) |
block_t * | NextStealBlock (block_t *block) |
Variables | |
block_t * | globalHeadBlock [NR_THREADS] |
block_t * | threadBlock |
block_t | stealBlock |
block_t | stealPrev |
bool | foundAdd |
int | threadHead |
int | stealHead |
int | stealIndex |
int | threadID |
Non-blocking synchronization.with lock-free concurrent bags (c) 2011 Håkan Sundell, Anders Gidenstam, Marina Papatriantafilou, Philippas Tsigas See http://www.cse.chalmers.se/~tsigas/papers/Lock%20Free%20Bag%20SPAA11.pdf.
Definition in file bags.c.