Skip to content

Commit

Permalink
Merge pull request #51 from michaelsippel/topic-chunkedlist
Browse files Browse the repository at this point in the history
fix AtomicList & improve ChunkedList
  • Loading branch information
psychocoderHPC authored Dec 14, 2023
2 parents 1287c5b + 8608134 commit 0d58d87
Show file tree
Hide file tree
Showing 2 changed files with 172 additions and 66 deletions.
3 changes: 2 additions & 1 deletion redGrapes/util/atomic_list.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ struct AtomicList
uintptr_t item_data_ptr;

ItemControlBlock( memory::Block blk )
: item_data_ptr( blk.ptr )
: deleted( false )
, item_data_ptr( blk.ptr )
{
/* put Item at front and initialize it
* with the remaining memory region
Expand Down
Loading

0 comments on commit 0d58d87

Please sign in to comment.