Use Glib::usleep() for consistency
This commit is contained in:
parent
425c40ff08
commit
6ca3c67046
@ -26,7 +26,7 @@
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
#include "pbd/gstdio_compat.h"
|
#include "pbd/gstdio_compat.h"
|
||||||
#include <glibmm/miscutils.h>
|
#include <glibmm.h>
|
||||||
|
|
||||||
#include <pbd/convert.h>
|
#include <pbd/convert.h>
|
||||||
#include <pbd/pthread_utils.h>
|
#include <pbd/pthread_utils.h>
|
||||||
@ -2399,7 +2399,7 @@ bool
|
|||||||
OSC::periodic (void)
|
OSC::periodic (void)
|
||||||
{
|
{
|
||||||
if (!tick) {
|
if (!tick) {
|
||||||
usleep(100); // let flurry of signals subside
|
Glib::usleep(100); // let flurry of signals subside
|
||||||
if (bank_dirty) {
|
if (bank_dirty) {
|
||||||
_recalcbanks ();
|
_recalcbanks ();
|
||||||
bank_dirty = false;
|
bank_dirty = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user