Impose stack limit on backend threads (freewheeling, MIDI poll)

This commit is contained in:
Robin Gareus 2024-09-28 01:25:16 +02:00
parent e8445d13ec
commit e8c67408bb
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 3 additions and 3 deletions

View file

@ -605,7 +605,7 @@ CoreAudioBackend::_start (bool for_latency_measurement)
return PortReconnectError;
}
if (pthread_create (&_freeewheel_thread, NULL, pthread_freewheel, this))
if (pbd_pthread_create (PBD_RT_STACKSIZE_PROC, &_freeewheel_thread, pthread_freewheel, this))
{
PBD::error << _("CoreAudioBackend: failed to create process thread.") << endmsg;
delete _pcmio; _pcmio = 0;