# HG changeset patch # User Tatsuki IHA # Date 1512136046 -32400 # Node ID 0181b7fa5f53f2b473426c342692efcf5949f153 # Parent bb29a1fe43ee032950a5a60166d5c4b6ccc1455a Using SynchornizedQueue in data gear wait list diff -r bb29a1fe43ee -r 0181b7fa5f53 src/parallel_execution/context.h --- a/src/parallel_execution/context.h Thu Nov 30 15:43:12 2017 +0900 +++ b/src/parallel_execution/context.h Fri Dec 01 22:47:26 2017 +0900 @@ -60,7 +60,7 @@ #define ALLOCATE_DATA_GEAR(context, t) ({ \ union Data* data = ALLOCATE(context, t); \ Meta* meta = GET_META(data); \ - meta->wait = createSingleLinkedQueue(context); \ + meta->wait = createSynchronizedQueue(context); \ data; }) #define ALLOC(context, t) (&ALLOCATE(context, t)->t)