[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] parallel loading of soundfont samples
From: |
Ceresa Jean-Jacques |
Subject: |
Re: [fluid-dev] parallel loading of soundfont samples |
Date: |
Wed, 28 Oct 2020 22:15:27 +0100 (CET) |
>Currently, there are two problems: 1. The samplecache is guarded by a mutex that prevents naïve parallelization. 2. If we relax that mutex we get a strange race condition,...
The whole fluid_samplecache_load() need to be atomic and isn't thread safe without the mutex
-get_samplecache_entry(), need the mutex
-fluid_list_prepend(), need the mutex
-entry->num_references++; need the mutex
...
jjc
- Re: [fluid-dev] parallel loading of soundfont samples, (continued)
- Re: [fluid-dev] parallel loading of soundfont samples, Hamish Moffatt, 2020/10/27
- Re: [fluid-dev] parallel loading of soundfont samples, Ceresa Jean-Jacques, 2020/10/27
- Re: [fluid-dev] parallel loading of soundfont samples, Tom M., 2020/10/27
- Re: [fluid-dev] parallel loading of soundfont samples, Hamish Moffatt, 2020/10/27
- Re: [fluid-dev] parallel loading of soundfont samples, Hamish Moffatt, 2020/10/27
- Re: [fluid-dev] parallel loading of soundfont samples, Ceresa Jean-Jacques, 2020/10/28
- Re: [fluid-dev] parallel loading of soundfont samples, Marcus Weseloh, 2020/10/28
- Re: [fluid-dev] parallel loading of soundfont samples, Marcus Weseloh, 2020/10/28
- Re: [fluid-dev] parallel loading of soundfont samples, Ceresa Jean-Jacques, 2020/10/28
- Re: [fluid-dev] parallel loading of soundfont samples, Tom M., 2020/10/28
- Re: [fluid-dev] parallel loading of soundfont samples,
Ceresa Jean-Jacques <=
- Re: [fluid-dev] parallel loading of soundfont samples, Marcus Weseloh, 2020/10/29
- Re: [fluid-dev] parallel loading of soundfont samples, Ben Gonzales, 2020/10/29
- Re: [fluid-dev] parallel loading of soundfont samples, Marcus Weseloh, 2020/10/28
- Re: [fluid-dev] parallel loading of soundfont samples, Marcus Weseloh, 2020/10/29
- Re: [fluid-dev] parallel loading of soundfont samples, Hamish Moffatt, 2020/10/29
- Re: [fluid-dev] parallel loading of soundfont samples, Hamish Moffatt, 2020/10/29
- Re: [fluid-dev] parallel loading of soundfont samples, Tom M., 2020/10/30
- Re: [fluid-dev] parallel loading of soundfont samples, Hamish Moffatt, 2020/10/31
- Re: [fluid-dev] parallel loading of soundfont samples, Marcus Weseloh, 2020/10/31
- Re: [fluid-dev] parallel loading of soundfont samples, Tom M., 2020/10/31