TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Concurrency kit – Concurrency primitives and non-blocking data structures in C

143 pointsby misframerover 9 years ago

6 comments

Jweb_Guruover 9 years ago
I have nothing but praise for this library... it's a great resource for writing high-performance parallel programs.
virmundiover 9 years ago
How does this compare to omp? It just started learning about this in my HTC course.
评论 #10210775 未加载
评论 #10210495 未加载
评论 #10210343 未加载
mingodadover 9 years ago
I looked at this library in the past and I could not find any usage of it in any open source project. That made me a bit scary, how a library like this with the supposed well thought construction is not used anywhere ?
评论 #10216155 未加载
reza_nover 9 years ago
It seems like a lot of these data structs are not thread safe. Other than ck_bitmap which seems to be read/write thread safe, ck_array, ck_hs, ck_ht, and parts of ck_ring only allow a single writer in the presence of many readers. Did I misread something here? Still a lot of good stuff here, but not sure if these data structures can be used without external locking.
评论 #10211932 未加载
评论 #10216071 未加载
Keyframeover 9 years ago
OK, but where do I start?<p>PS I may be dense today.
评论 #10210205 未加载
gadrfgaesgysdover 9 years ago
What a macro fest: <a href="https:&#x2F;&#x2F;github.com&#x2F;concurrencykit&#x2F;ck&#x2F;blob&#x2F;master&#x2F;include&#x2F;gcc&#x2F;x86_64&#x2F;ck_pr.h" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;concurrencykit&#x2F;ck&#x2F;blob&#x2F;master&#x2F;include&#x2F;gcc...</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;concurrencykit&#x2F;ck&#x2F;tree&#x2F;master&#x2F;include&#x2F;gcc" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;concurrencykit&#x2F;ck&#x2F;tree&#x2F;master&#x2F;include&#x2F;gcc</a><p>This might not be the intention of the author, but if you want someone to use&#x2F;hack with your library, please make it human-readable. Those macros reduce the amount of duplication, at the cost of legibility. At least include useful comments... &#x2F;rant off
评论 #10209748 未加载
评论 #10210328 未加载
评论 #10209970 未加载
评论 #10216282 未加载