mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-25 14:47:20 +01:00
convert from Glib:: to Glib::Threads for all thread-related API
git-svn-id: svn://localhost/ardour2/branches/3.0@13084 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
eb6e352dd0
commit
3cd8138a41
138 changed files with 664 additions and 703 deletions
|
|
@ -53,7 +53,7 @@ ControlSet::add_control(boost::shared_ptr<Control> ac)
|
|||
void
|
||||
ControlSet::what_has_data (set<Parameter>& s) const
|
||||
{
|
||||
Glib::Mutex::Lock lm (_control_lock);
|
||||
Glib::Threads::Mutex::Lock lm (_control_lock);
|
||||
|
||||
for (Controls::const_iterator li = _controls.begin(); li != _controls.end(); ++li) {
|
||||
if (li->second->list() && !li->second->list()->empty()) {
|
||||
|
|
@ -116,7 +116,7 @@ ControlSet::find_next_event (double now, double end, ControlEvent& next_event) c
|
|||
void
|
||||
ControlSet::clear_controls ()
|
||||
{
|
||||
Glib::Mutex::Lock lm (_control_lock);
|
||||
Glib::Threads::Mutex::Lock lm (_control_lock);
|
||||
|
||||
_control_connections.drop_connections ();
|
||||
_list_connections.drop_connections ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue