Results 1 to 3 of 3

Thread: deadlock in producer-consumer problem

Threaded View

  1. #1
    Join Date
    Sep 2011
    Location
    South Africa
    Beans
    165
    Distro
    Xubuntu 12.10 Quantal Quetzal

    deadlock in producer-consumer problem

    Hi

    I'm just wondering, is it possible to get deadlock in a properly done solution of the producer-consumer problem using semaphores?

    I'm supposed to give an example of such and I can't see how that's possible as deadlock arises from circular dependecies (cannot happen in producer-consumer)

    Regards,

    A
    Last edited by 3v3rgr33n; March 18th, 2013 at 07:51 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •