#572 new
Brian Ford

Thread#wakeup does not result in a deadlock ERROR

Reported by Brian Ford | May 24th, 2008 @ 12:58 AM | in 1.0 preview

This spec uses a Channel on Rubinius and a Queue otherwise. But the spec had a deadlock condition if the main thread consumed everything in the Queue before the threads were awake to add anything to the Queue, so the check for size was added. Rubinius Channel does not have a #size. The spec should probably use a Queue on every platform

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Tags