Linux Kernel Gets A Wait-Free Concurrent Queue
Phoronix: Linux Kernel Gets A Wait-Free Concurrent Queue
Introduced to the world on Monday and already revised today is the Linux Kernel Wait-Free Concurrent Queue Implementation...
What is this good for?
What can make use of this?
When is this useful?
Originally Posted by jwilliams
I wonder if any phoronix readers can identify what the problems are with this statement (ignoring any and all grammar mistakes you may find or think you find):
"Synchronization primitives such as mutexes, semaphores, and critical sections are all mechanisms by which a programmer can ensure that certain sections of code do not execute concurrently if doing so would corrupt shared memory structures."
Here's a hint: If you're a computer science student, do NOT study for your exam by reading wikipedia.
A critical section isn't a mechanism - it's the piece of code that will need to be synced inside a mutex, semaphore, or other solution.
Originally Posted by droidhacker
Well you're somewhat right, but it actually is a mechanism in windows:
Originally Posted by smitty3268