Post Profile

Thinking in coroutines

Lukasz Langa uses asyncio source code to explain the event loop, blocking calls, coroutines, tasks, futures, thread pool executors, and process pool executors. Continue reading Thinking in coroutines.
read more


Related Posts

Non Blocking C# Task Cancelling

Programming / Windows Development : CodeProject

In our previous sample snippet, Cancel a Loop in a Task with CancellationTokens in c# , I try to explain how we can get out of a looping c# task, but a problem may arise from that situation. If we were to wait for any result out of ...

Cancel a Loop in a Task with CancellationTokens

Programming / Windows Development : CodeProject

In the event that you create a asynchronous Task with a loop, in which you run your code. Say you’ve created a asynchronous Task. The method you’re running inside your task contains a loop ( infinite or not ), and you want to break ...

Parallel programming in .NET - Internals

Programming / Windows Development : CodeProject

.NET 4 brings a powerful Task library to support a piece of code to run in parallel processors. What it does just simply spawns threads into multiple processes using the newly written task libraries (System.Threading.Tasks) in mscor...

Thread Pooling in C# – ThreadPool.QueueUserWorkItem

Programming / Windows Development : CodeProject

A thread pool is a collection of threads that can be used to perform several tasks in the background.  This leaves the primary thread free to perform other tasks asynchronously. Once a thread in the pool completes its task, it is re...

Block any process from running with Task Blocker for Windows

Technology :

It is sometimes not that easy to block a task from running. Think of tasks that you can kill when they are running, but spawn again, or tasks that you cannot kill at all using the Windows Task Manager. A prime example of a process t...


Copyright © 2016 Regator, LLC