|
| From: | Pantxo Diribarne |
| Subject: | [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties |
| Date: | Fri, 19 Jan 2018 10:22:32 -0500 (EST) |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0 |
Follow-up Comment #11, bug #52804 (project octave):
Ok, I just realized that the "if (true)" block creates a scope. When quitting
the block, the "guard" variable is deleted and the the mutex is thus unlocked.
This doesn't have anything to do with a race condition.
The attached cset fixes the issue for me (I could have used
"gh_manager::unlock ()" but I would have been left with unused variables) and
reverts the previous cset for listeners.
(file #42974)
_______________________________________________________
Additional Item Attachment:
File name: revert_busyaction.patch Size:2 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52804>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |