Announcement

Collapse
No announcement yet.

Linux Kernel Gets A Wait-Free Concurrent Queue

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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...

    http://www.phoronix.com/vr.php?view=MTMyNzQ

  • #2
    Applications?

    What is this good for?
    What can make use of this?
    When is this useful?

    Comment


    • #3
      http://en.wikipedia.org/wiki/Non-blocking_algorithm

      Comment


      • #4
        lol wikipedia.

        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.

        Comment


        • #5
          Originally posted by droidhacker View Post
          lol wikipedia.

          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.

          Comment


          • #6
            Originally posted by smitty3268 View Post
            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.
            Well you're somewhat right, but it actually is a mechanism in windows:
            http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx

            Comment

            Working...
            X