Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 5147] liblock query feature needed

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 5147] liblock query feature needed
  • Date: Wed, 10 Dec 2003 01:19:33 -0500

http://bugs.sourcemage.org/show_bug.cgi?id=5147





------- Additional Comments From dufflebunk AT dufflebunk.homeip.net 2003-12-10
01:19 -------
The code in cast would need to go:
if solo, then
while ! try_lock_resource cast solo
while is_locked_type cast
sleep 1
done
done

else
lock_resource cast solo
fi

something like that... but it would be easy to create a deadlock, and
situations
where the solo spell casts anyways if not careful.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page