Are semaphores released FIFO, random, or using some other algorithm? Does the algorithm avoid starvation?
Are semaphores released FIFO, random, or using some other algorithm? Does the algorithm avoid
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This article says you cannot assume FIFO, though seems to slightly imply that FIFO is what is generally expected. I might be overstating that, though.
This article confirms that they are not guaranteed to be released in any order: