GC issue? List.pool overwritten by allocated object

Denis Feklushkin feklushkin.denis at gmail.com
Wed May 14 06:59:56 UTC 2025


On Wednesday, 14 May 2025 at 04:26:08 UTC, Ali Çehreli wrote:
> On 5/12/25 8:31 AM, Denis Feklushkin wrote:
>
> > Vulkan API is used and it implicitly creates threads.
>
> Do those threads call back to D code that allocate from the GC? 
> If so, the GC must be aware of the threads to be able to 
> suspend them during a collection.

There is no such thing in my code (it is possible with Vulkan, 
but I removed this code from the test build)

But I am almost sure that the problem is in the Vulkan lib: when 
Vulkan VkDevice object created then about 30 threads implicitely 
created by Vulkan library and something goes wrong



More information about the Digitalmars-d mailing list