mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
use glib mutex API
This commit is contained in:
parent
38f3d9d68a
commit
36d30f8c89
1 changed files with 2 additions and 2 deletions
|
|
@ -1582,7 +1582,7 @@ WaveView::drawing_thread ()
|
|||
* as we do rendering.
|
||||
*/
|
||||
|
||||
request_queue_lock.unlock (); /* some RAII would be good here */
|
||||
lm.release (); /* some RAII would be good here */
|
||||
|
||||
try {
|
||||
requestor->generate_image (req, true);
|
||||
|
|
@ -1590,7 +1590,7 @@ WaveView::drawing_thread ()
|
|||
req->image.clear(); /* just in case it was set before the exception, whatever it was */
|
||||
}
|
||||
|
||||
request_queue_lock.lock ();
|
||||
lm.acquire ();
|
||||
|
||||
req.reset (); /* drop/delete request as appropriate */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue