... Not currently. The functions are currently part of a proprietary commercial application for Mac OS X. I do post occasional code snippets and will gladly...
... Not currently. The functions are currently part of a proprietary commercial application for Mac OS X. I do post occasional code snippets and will gladly...
... Welcome to the list. However, what you propose is not a viable solution for what I think is the intended goal of people on this list. At least a few of the...
Yes, welcome :-) I agree with what James has said. There is certainly a lot of interest (in general) in lock-free techniques as an optimisation to increase...
Hi all, I've been profiling my code and found something pretty nasty. I'm not sure if I'm doing something wrong, but it seems that while my production thread...
Hi Aaron, 1) In C# you have no control when garbage collection hits you. This means you have a less deterministic behaviour than in other languages. This is...
t. bosh
liblf@...
Nov 3, 2006 9:08 am
195
Hi, t bosh. (Sorry, I couldn't find your name on the post). Thanks for the advice. I'll reply inline. First of all WRT .NET, there is some extremely...
... You may find, if your benchmark is hitting your semaphore very hard, that a lot of time is spent waiting for the cacheline involved to bounce between the...
Hi Chris, Well, I did get the spinlocks to perform. I'm not sure what I did since I haven't changed the two lines of code I posted before! :-S I'm doing this...
Howdy, ... I'm not sure whether it is hard (no experience in C#), but recently read this: http://www.boyet.com/Articles/LockfreeStack.html .. where the guy has...
Jan Wassenberg
urkt@...
Nov 6, 2006 6:56 am
199
hi, i tested this on a couple of machines (4x Xeon, 16x Itanium, 4x Opteron) and it seems to work. tomorrow i'll try it with some more real-life test cases. ...
... the audio thread, no matter if it is cheaper overall. But wait.. I wasn't claiming that blocking was cheap, it's not at all, I was claiming that...
hi, i tested this code on the same machines as before. seems to work... chris ... // IA64 // g++ -ofifo_thread_ia64 -lpthread -D__SMP__ fifo_thread.c //...
Hi, ... Ah, I think I see the problem. Sleep(0) only blocks if there are runnable threads of equal or higher priority. In general, using thread priority for...
Jan Wassenberg
urkt@...
Nov 6, 2006 6:59 am
203
good morning, i just tested bjorn roche's ring-buffer-2 code (with mem-barriers) on the following machines: Red Hat Ent Linux AS 4.0 on a HP Integrity rx8620...
Hi, ... on linux mutex's are implemented similarly: acquiring an uncontested mutex requires one atomic operation, and that's it. Otherwise, if some other...
Duncan Sands
baldrick@...
Nov 6, 2006 8:02 am
205
... Ah, then cachelines won't be your problem, and exponential backoff won't help you. ... The first few pauses of an exponential-backoff spinlock are usually ...
hi, this code breaks on multiprocessor ia64 systems with multiple writers and readers. memory barriers fix the problem but degrade performance significantly. i...
Hi Chris As I have discussed with Maged Michael and the GRAME guys before there appears to be a race condition in the published algorithm, I would be wary of...
hi ross thank you for your answer. ... this is the GRAME fifo. i just altered it a little (use offsets instead of pointers, made it non-intrusive) to work...
hi all, has anyone had a look at the orocos real-time toolkit? it provides several lockfree c++ data-structures (list, queue, ringbuffer, memory pool), which...
hi all, i've been in contact with the developers of orocos (Open Robot Control Software), who wrote a real-time toolkit, which provides hard-realtime capable...
... fixed size ... algorithm. The ... very heavy ... number of ... <http://www.orocos.org/stable/rtt/current/api/html/classRTT_1_1AtomicQueue.html>) ... The...
It seems my previous mail is not coming through... I admit the bug, ... <chris.purcell.39@...> wrote: [...] ... This algorithm is to be used in a hard...
I think the places where it's used must manage the ABA problem explicitly, though I could be wrong. Also, I'm assuming there are barriers in ::CompareAndSwap,...
Hello, Is there an implementation of a multi-writer, multi-reader FIFO queue for 32-bit PowerPC multiprocessors with the following characteristics: (1) the...