roign

joined 1 year ago
[–] roign@lemmy.world 2 points 1 year ago
[–] roign@lemmy.world 30 points 1 year ago (2 children)

When I was a kid I thought adults knew stuff and had life figured out. I grew up to realize that no one knows shit.

[–] roign@lemmy.world 11 points 1 year ago (1 children)

Say "what" one more time

[–] roign@lemmy.world 2 points 1 year ago

ninja mouse

[–] roign@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

This.

tokio tasks are green threads. https://docs.rs/tokio/latest/tokio/task/

tokio also offers a variety of channels for synchronization between tasks. https://docs.rs/tokio/latest/tokio/sync/index.html