Description:
All issues about multithreaded programming.
|
|
|
lock-free singly linked list design
|
| |
I've been thinking about lock-free singly linked lists. I've had a thought or two. I will fall off my chair if any of this is original. What I would like however is to see what you guys think, since it's nicer to find mistakes *before* you've put in hours and hours of implementation work. Having looked somewhat at the literature, there seem to be a number of... more »
|
|
Internet : Learn How To Use It .
|
| |
Internet : Learn How To Use It . Features : E-Mail . Chatting . Upload , Download and Share . Blog or website creation . Earning schemes . Check all of these in one place at [link]
|
|
Avoiding atomic decrement in final ref counting release
|
| |
Hi, Is this correct implementation of COM style Release: void Release() { // no atomic if single owner release the object if (m_ref == 1 || atomic_decrement(&m_ref) == 0) { delete this; } ...Memory visibility is guaranteed by the synchronization used to acquire reference to the object.... more »
|
|
pthread_create crashing
|
| |
Ive used this same code in the past and recently started working on something new. Its now crashing on pthread_create, but seems to point to memory allocation as the problem in gdb: (gdb) bt ...tls.c:300 ...466 ... pdp=<value optimized out>, attr=<value optimized out>) at allocatestack.c:561 ...optimized out>,... more »
|
|
Global Warming and what you can do to against it
|
| |
Dear All, As you know global warming is endangering the future of life on the planet. It will also affect us; rising sea levels, dwindling water supplies, mass deaths due to heat waves, stoppage of the gulfstream, which brings milder climate to north of Europe, super hurricanes, less food due to droughts are some of the effects.... more »
|
|
Race in boost::shared_ptr?
|
| |
Is it only me who thinks that there is a race? Here is a piece of code from boost_1_41_0\boost\smart_ptr\d etail \sp_counted_base_solaris.hpp, it implements simple reference counting with basic-thread safety: void release() // nothrow { if( atomic_dec_32_nv( &use_count_ ) == 0 ) {... more »
|
|
patients / licensing issues
|
| |
I'm trying to find out if there are patient/licensing issues involved in using Treiber's stack or Michael and Scott's queue. I understand the Boost library is using M&S's queue, so I'm guessing it's generally available. I can't find any info on T's stack. I'm also interesting in finding out about Harris' singly linked-list; I... more »
|
|
|