Tag Archives: multi-threading

Threads III: Condition Variable


This post continues the Threads series. This time I will introduce the condition variable synchronization primitive. If you haven’t read the previous Thread posts I recommend you to start here before reading on. Condition variables allow defining dependencies between threads in a thread-safe manner without having to resort to polling. Polling is the practice of […]

https://eloben.wordpress.com/2014/11/30/threads-iii-condition-variable/

Multi-threading Maven builds with PowerShell Jobs and a .NET Queue


I was recently given a copy of the script used on our Jenkins server to deploy our Java code base.  My boss wanted to get it working so devs could have a script to compile code on their local sandboxes, rather than wait for the next Jenkins run.  Honestly, I think I spent more time […]

https://souladin.wordpress.com/2015/01/05/multi-threading-maven-builds-with-powershell-jobs-and-a-net-queue/

Multi-threading using pthread linux library


Thread is a light weight process. Threads are introduced to avoid the heavy context switch of processes. The way we have process schedulers there must be some mechanism for thread scheduler. Again based on whether the thread supported is user level thread (i.e. posix pthread lib in linux, used via a C program) or kernel […]

https://jigarpandyablog.wordpress.com/2015/01/17/multi-threading-using-pthread-linux-library/

Interview preparation: Cheat sheet, and my first multi-threaded application (with timing of how long each version took)


Cheat sheet! Front: Back: My first multi-threaded application: Original single-threaded version This duplicates a directory structure, where the tab indentation in every text file is replaced with spaces. First, the single-threaded version (this is the same function as in my XBN-Java library, extracted so it has no dependencies on any other part of the library…aside […]

https://aliteralmind.wordpress.com/2015/03/31/multithreadinterview/

Chapter 1.1 Implement multi-threading and asynchronous processing


When the applications are becoming more and more complex as user expectations rise. We need to create a high speed responsive applications that use multiple threads.

https://felixgrayson.wordpress.com/2015/07/15/implement-multi-threading-and-asynchronous-processing/

Modifying ObservableCollection from worker threads in WPF


If you have worked with WPF and used DataBinding you would know that if you want to update the UI when an object changes other than from the binding, you have to implement INotifyPropertyChanged Interface (Or use Dependency properties) and if you are working with a collection, then the best bet is to use an Observable collection […]

https://pragmaticdevs.wordpress.com/2015/08/25/modifying-observablecollection-from-worker-threads-in-wpf/

Introduction to the HTML5 Web Workers: the JavaScript multithreading approach


via Introduction to the HTML5 Web Workers: the JavaScript multithreading approach | Web Builder Zone.

An HTML5 application is obviously written using JavaScript. But compared to other kind of development environments (like native one), JavaScript historically suffers from an important limitation: all its execution process remains inside a unique thread. This could be pretty annoying with today multi-cores processors like the i5/i7 containing up to 8 logical CPUs and even with the latest ARM mobile processors being dual or even quad-cores. Hopefully, we’re going to see that HTML5 offers to the web a way to better handle these new marvelous processors to help you embrace a new generation of web applications.