---
title: "Tag: multithreading | Shreyas Patil's Blog"
description: "Senior Android Engineer @ Deliveroo. Google Developer Expert for Android. Writing about Android, Kotlin, and AI."
image: "https://blog.shreyaspatil.dev/og.png"
---

# Tag:multithreading

All the articles with the tag "multithreading".

# Tag:multithreading

- [![](https://blog.shreyaspatil.dev/_astro/cover-understanding-dispatchers-main-and-mainimmediate.BDl5NICs_ZipbbY.webp)](https://blog.shreyaspatil.dev/understanding-dispatchers-main-and-mainimmediate)[## Understanding Dispatchers: Main and Main.immediate](https://blog.shreyaspatil.dev/understanding-dispatchers-main-and-mainimmediate)2 Apr, 2025A deep dive into Kotlin Coroutine Dispatchers. Understand the subtle but important difference between Dispatchers.Main and Dispatchers.Main.immediate in Android.
- [![](https://blog.shreyaspatil.dev/_astro/cover-collecting-items-from-the-flow-in-chunks.C0GB2o1l_ZF6UBn.webp)](https://blog.shreyaspatil.dev/collecting-items-from-the-flow-in-chunks)[## Collecting items from the Flow in chunks💦](https://blog.shreyaspatil.dev/collecting-items-from-the-flow-in-chunks)23 Oct, 2023Learn how to collect Kotlin Flow items in chunks or intervals without losing data. A practical guide to handling high-frequency data streams efficiently.
- [![](https://blog.shreyaspatil.dev/_astro/cover-sleepless-concurrency-delay-vs-threadsleep.qFiypeQo_Z1xK0Mt.webp)](https://blog.shreyaspatil.dev/sleepless-concurrency-delay-vs-threadsleep)[## Sleepless Concurrency: delay() vs. Thread.sleep()](https://blog.shreyaspatil.dev/sleepless-concurrency-delay-vs-threadsleep)31 Jul, 2023Explore the difference between delay() and Thread.sleep() in Kotlin. Understand how non-blocking concurrency works from a platform perspective.
- [![](https://blog.shreyaspatil.dev/_astro/cover-exploring-select-expression-of-kotlin-coroutines.BW0vUATE_1v9eys.webp)](https://blog.shreyaspatil.dev/exploring-select-expression-of-kotlin-coroutines)[## Exploring "select" expression of Kotlin coroutines](https://blog.shreyaspatil.dev/exploring-select-expression-of-kotlin-coroutines)27 Sep, 2022Learn how to use the 'select' expression in Kotlin Coroutines to await multiple suspending functions and select the first one that completes.
- [![](https://blog.shreyaspatil.dev/_astro/cover-combining-stateflows-and-transforming-it-into-a-stateflow.DKBK7XWm_ZcSIy3.webp)](https://blog.shreyaspatil.dev/combining-stateflows-and-transforming-it-into-a-stateflow)[## Combining StateFlows and transforming it into a StateFlow](https://blog.shreyaspatil.dev/combining-stateflows-and-transforming-it-into-a-stateflow)24 Jun, 2022Master the art of combining multiple StateFlows into a single transformed StateFlow. Explore utilities and best practices for managing complex states in Kotlin.
- [![](https://blog.shreyaspatil.dev/_astro/cover-leveraging-the-semaphore-concept-in-coroutines-to-limit-the-parallelism.DCItG-S0_1idvxP.webp)](https://blog.shreyaspatil.dev/leveraging-the-semaphore-concept-in-coroutines-to-limit-the-parallelism)[## Leveraging the Semaphore concept in Coroutines to limit the parallelism 🔀](https://blog.shreyaspatil.dev/leveraging-the-semaphore-concept-in-coroutines-to-limit-the-parallelism)1 Apr, 2022Explore the concept of Semaphores in Kotlin Coroutines. Learn how to limit parallelism and manage resource access in concurrent programming.

```json
{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Shreyas Patil's Blog",
  "url": "https://blog.shreyaspatil.dev/",
  "description": "Senior Android Engineer @ Deliveroo. Google Developer Expert for Android. Writing about Android, Kotlin, and AI.",
  "author": {
    "@type": "Person",
    "name": "Shreyas Patil",
    "url": "https://shreyaspatil.dev/"
  }
}
```
