concurrencykit / ck

Concurrency primitives, safe memory reclamation mechanisms and non-blocking (including lock-free) data structures designed to aid in the research, design and implementation of high performance concurrent systems developed in C99+.

Home Page:http://concurrencykit.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reduce need for container_of in code using ck_hs

pkhuong opened this issue · comments

Let the ck_hs constructor indicate the offset of the key field in pointees, thus making container_of optional.

This would be a nice quality of life improvement.

Also, that forward compatible options struct is excellent.