Skip to content

Improve mutex/lock handling #32

@destefy

Description

@destefy

Currently, the compiler and inference thread of the remote-compiler client backend share a lock to ensure that the compiler can safely delete the uncompiled model once compiled is done.

However, this could lead to starvation if a thread holds onto a lock for too long.

We should probably use semaphores instead or whatever is the standard implementation for the reader-writer concurrency problem

┆Issue is synchronized with this Notion page by Unito

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions