2min chapter

A Bootiful Podcast cover image

José Paumard, Java Champion alumnus and Java legend, on Project Loom, Valhalla, and more, from Devnexus 2023!

A Bootiful Podcast

CHAPTER

How to Block a Platform Thread

blocking is about that you can do thread that sleep But that's for the demo is what I use for demos so Fibonacci Fibonacci doesn't doesn't block. What you're gonna do is it's a long time in the CPU. Yeah, yes, but your CPU is used during that Okay, your CPU if you use your CPU usage you would be missing it close to 100 That's right. You're saying not busy on the CPU. You're still sitting in the thread Absolutely if you if you’re blocking a platform thread because you have an issue because it takes one millisecond to come back Right, then your CPU is doing nothing. And using the call of

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode