pramalhe / concurrencyfreaks Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://concurrencyfreaks.blogspot.com/
License: Other
Home Page: http://concurrencyfreaks.blogspot.com/
License: Other
ConcurrencyFreaks ================= A library of concurrent data structures and synchronization mechanisms. More info on http://concurrencyfreaks.blogspot.com/ C11 - Some locks implemented in the C11 language CPP - Some locks and data structures implemented in C++1x, mostly lock-free and wait-free queues. You should use a compiler that supports C++14 (like gcc 4.9.1) because some classes use std:shared_timed_mutex D - Some data structures implemented in the D programming language Java - Synchronization mechanisms and data structures (mostly lock-free and wait-free queues) implemented in Java. Some of them need Java 8 or above.
In C++ code c'tor needs to throw when maxThreads out of range. Calls to enqueue and dequeue should fail when tid out of range. Checking for those values being negative can be avoided by changing parameters from int to unsigned...
Jack Goral
There doesn't appear to be a readindicators folder committed, but it is referenced in many of the CPP algorithms.
Which queue has the best deallocation behavior when a once large queue is shrunken? I'm looking for a FIFO queue which releases most of it's memory when shrinking again.
You may want to modify the github project page to link to http://concurrencyfreaks.blogspot.com/
instead of http://www.concurrencyfreaks.com/
In benchmarking, com/concurrencyfreaks/tests is missing which is used by BenchmarkListRelaxedvsVolatile.java
You don't have a license file in your repo, making your code impossible to reuse in a commercial or open-source context.
Could you please add a license? May I recommend you use Apache 2.0 because it's both business and open-source friendly (covers patents, copyright, contributions etc).
Here's what GitHub's own Choose-A-License site has to say about the Apache 2.0 license
But really, just pick a license, even if it is to say "we do not provide a copyright license at all, you cannot re-use this code" to reduce confusion. (Although I'd greatly prefer it if you used a liberal open-source license.)
Disclaimer: I am not a lawyer and this is not legal advice.
I greatly appreciate the work that you have put into this repository.
Reading through your papers and code has influenced a number of descisions that I made in my undergraduate disseration! I was wondering if you would be willing to add a CITATION.CFF
file (link to documentation) inside of the repo in order to aid with correctly citing your work.
Hi!
All the lock implementation based on some spin (sched_yield), but you compare with pthread lock that could block, to get better comparison change the pthread from mutex to spin.
Note that when I tested with pthread_spinlock_t it give the best ops/s (So on when I changed the spin implementation to sched_yield in between).
J
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.