Elektrine lite

← Feed

@voided@hachyderm.io

Post #1888658

2026-04-26 20:10 UTC

@michalfita one plan I have is that it keeps a thread handle around for a thread which does the de-alloc. for the use case I'm thinking of heap allocated is fine. another version I've had planned was to have event queue style handler

Replies (1)

  • @michalfita@mastodon.social 2026-04-27 08:29

    @voided Not sure about event queue, I'd need to better understand what you mean by that, but the thread version should be self-contained. The sleeping thread would be bound to the instance internally, the only issue atm to figure out are lifetime scopes for it. With `WeakPtr` that's probably easiest to start with.

    Open ##1888659