Skip to content

Multithreading strategies #276

@JMS55

Description

@JMS55

What's the best way to allow threads to independently allocate/deallocate resources?

Sticking Allocator in an Arc<Mutex<Allocator>> means that only one thread can allocate/deallocate a resource at a time.

Does it make sense to use a separate Allocator per thread in a thread-local? How are the underlying descriptor pools managed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions