Rustacean Station  cover image

Tokio Ecosystem with Alice Ryhl

Rustacean Station

00:00

Tokyo Specific Threads - How to Wake Them Up?

There is another strategy, and that is to spawn a dedicated thread for your higher operations. When you do this, then this other thread will handle figuring out when does an ire operation happen? And it will then send a notification to the toge thread that's sleeping. Toky has some sort of imbold way where if you call wake from one of the threats outside of the runtime, then you will also wake the thread up. The way toke implements timas is pretty simple. This sis call that it uses to listen for event on the on the soret. It uses a time out on the coll and the time out is just the smallest timer in your togl run time

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app