Kate Brownkateeliza29.hashnode.dev·Mar 23, 2024Optimise your Code! Multithreading in C#What is it? Multithreading is using separate threads to complete separate tasks. If you go too far down the ‘what is a thread’ rabbit hole, it all gets a bit philosophical, so as a basic definition, a thread is part of your program that can be execut...Discussmultithreading
Jyotiprakash Mishrablog.jyotiprakash.org·Mar 15, 2024Multithreading and SynchronizationA thread, often considered the smallest unit of processing that can be scheduled by an operating system, is a component of a process. Multiple threads can exist within the same process, sharing certain resources while operating independently in execu...Discuss·274 readsoperating system
Aahlad Kethineediaahlad-kethineedi.hashnode.dev·Feb 24, 2024Navigating Kotlin's "suspend" and "runBlocking": A Cautionary Tale.Similar to threads in Java, Kotlin uses coroutines to run the tasks in the background. In Kotlin, you can use coroutines in few predefined methods like : runBlocking launch suspend coroutineScope async Based on each keyword the usage and imple...DiscussKotlin
Rafal Jackiewiczjackiewicz.hashnode.dev·Feb 22, 2024The Evolution of Programming Languages: A Time-Traveling Tale of Syntax and SemanticsAh, programming languages, the magical incantations of our time, weaving the very fabric of the digital world we live in. Imagine, if you will, a world without them. A bleak, desolate landscape where humans and machines sit awkwardly at a table, unab...DiscussCodeCrafting
Sajal Raj Gautamblog.sajalrg.com·Feb 22, 2024Internals of HandlerThread in AndroidIn previous parts, we've delved into Handler, Looper and Message, understanding their roles in enabling code execution within a specified thread and facilitating safe communication between threads. The HandlerThread class combines these concepts, sim...Discuss·27 readsMultiThreading In AndroidAndroid
Sajal Raj Gautamblog.sajalrg.com·Feb 14, 2024Looper, Handler in Android Part 4 - HandlerThis is the final article in our series on Introduction Looper and Handler in Android. To fully grasp the concepts discussed here, it's assumed that you have read or are familiar with the content covered in previous parts. If not, I recommend revisit...Discuss·27 readsMultiThreading In AndroidAndroid
ByteScrum TechnologiesforByteScrum Technologiesblog.bytescrum.com·Feb 5, 2024Exploring Threads in Python: A Dive into Concurrent ProgrammingIn the world of programming, efficiency and speed are crucial factors. When it comes to executing tasks concurrently, threads play a vital role. In Python, the threading module provides a way to work with threads, allowing developers to write concurr...Discuss·84 likes·195 readsPython CoreThreads
Sajal Raj Gautamblog.sajalrg.com·Jan 30, 2024Looper, Handler in Android Part 3 - HandlerThis article is the third in a series on Looper and Handler in Android. To fully understand the concepts discussed here, it's assumed that you have read or are already familiar with the concepts covered in part1 and part2. If not, I recommend visitin...Discuss·56 readsMultiThreading In AndroidAndroid
Samsammoulem.hashnode.dev·Jan 29, 2024Using a phaser rather than 2 count down latchesIntroduction I came across an excellent article listed in Baeldung's Java weekly.The article title is How to use the Java CountDownLatch.I just wanted to build on that article and use a Phaser as an alternative. Overview In the last code example, of ...DiscussJava
조준형forComit Dev Teamblog.skku-comit.dev·Jan 26, 2024[OS]multi process와 multi thread크롬에서 탭을 쓴다고 생각해봅시다. 우리는 chat gpt를 쓰던 학교 강의를 듣던 여러개의 탭을 켜놓고 작업들을 할 것입니다. 이 때에 우리는 멀티 프로세스(Multi-process)와 멀티 스레드(Multi-thread)의 개념을 생각해 볼 수 있습니다. 멀티-프로세스 모델 : 크롬은 탭이 마치 독립된 브라우저처럼 작동합니다. 멀티-쓰레드 사용: 각각의 탭이 각각 하나의 프로세스이고 그 안에서는 다수의 쓰레드가 사용됩니다. ex) 웹페이...Discussos