•        69

Threading, concurrency, etc



Related Projects

Smart Thread Pool

Smart Thread Pool is a thread pool written in C#. It is far more advanced than the .NET built-in thread pool. Here is a list of the thread pool features: * The number of threads dynamically changes according to the workload on the threads in the pool. * Work items can...

ThreadManager in C# with ThreadPool

ThreadManager contains C# class to manage thread effectively with the ThreadPool can be used in any .NET application . It is released as just C# class as Version 1.0. I will upload Demo application soon. Its really easy to use and tested. Use it or loose it.

puma - A Ruby/Rack web server built for concurrency

Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications in development and production. Under the hood, Puma processes requests using a C-optimized Ragel extension (inherited from Mongrel) that provides fast, accurate HTTP 1.1 protocol parsing in a portable way. Puma then serves the request in a thread from an internal thread pool. Since each request is served in a separate thread, truly concurrent Ruby implementations (JRuby, Rubinius) will use all available CPU cores.

threads.js - Easy to use, yet powerful multi-threading library for node.js and the browser.

Javascript thread library. Uses web workers when run in browsers and child processes when run by node.js. Also supports browsers which do not support web workers.You don't have to write the thread's code inline. The file is expected to be a commonjs module (so something that uses module.exports = ...), for node and browser.


threadpool is a cross-platform C++ thread pool library. It provides a convenient way for dispatching asynchronous tasks and can be easily customized. threadpool is based on the high-quality Boost source libraries.

libdill - Structured concurrency in C

Libdill is a C library that makes writing structured concurrent programs easy. There is no interaction between threads. Each thread is treated as a separate process. Channels are always unbuffered. Coroutines can be canceled. Generally speaking, though, libdill's concurrency primitives are only a bit slower than basic C flow control statements. A context switch has been seen to execute in as little as 6 ns, with coroutine creation taking 26 ns. Passing a message through a channel takes about 40 ns.

Threading.Net : Multi threads, threadpool, backgroundworker windows form sample

Threading.Net, is a small windows form application that highlights the benefits of multithreaded programming by comparing in parallel, using progessbars, the same process running in single thread and in multi thread mode.

Express Lane

ExpressLane Concurrency Library is a concurrency library for .NET users. It provides the concurrency foundation such as thread pool and concurrency collections for easy developing multi-thread applications.

ThreadPool - A simple C++11 Thread Pool implementation

A simple C++11 Thread Pool implementation.

RxJava - Reactive Extensions for the JVM

RxJava is a Java VM implementation of Reactive Extensions: a library for composing asynchronous and event-based programs by using observable sequences. It extends the observer pattern to support sequences of data/events and adds operators that allow you to compose sequences together declaratively while abstracting away concerns about things like low-level threading, synchronization, thread-safety and concurrent data structures.

pthreads - Threading for PHP

This project provides multi-threading that is compatible with PHP based on Posix Threads. It can execute any and all predefined and user declared methods and functions asynchronously. It has built-in support of Synchronization, Synchronized Methods.

CHESS: Systematic Concurrency Testing

CHESS is a tool for systematic and disciplined concurrency testing. Given a concurrent test, CHESS systematically enumerates the possible thread schedules to find hard-to-find concurrency errors, including assertion violations, deadlocks, data-races, and atomicity violations.

Vibur Object Pool - Concurrent Java Object Pool

Vibur Object Pool is a general-purpose concurrent Java object pool which provides both validating and non-validating pool implementations. The pool is built entirely using standard Java concurrency utilities, does not use any synchronized blocks/methods, and does not have any external dependencies. The pool is an excellent choice for pooling/caching of expensive to create Java objects such as database (or any other) socket connections and similar.

Plugin ThreadPool C++

The command pattern and chain of responsibility pattern lends itself elegantlynbsp;for the implementation of nbsp;the Thread Pool design. Wrap the method using the command object and submit it to the tread pool;there is no needd to change the existing source

libuv - Cross platform Asynchronous I/O

libuv is a multi-platform support library with a focus on asynchronous I/O. It was primarily developed for use by Node.js, but it’s also used by Luvit, Julia, pyuv, and others. Its feature includes event loop backed by epoll, kqueue, IOCP, event ports. Asynchronous TCP and UDP sockets, Asynchronous DNS resolution, Thread pool, Signal handling and lot more.

concurrentunit - Toolkit for testing multi-threaded and asynchronous applications

A simple, zero-dependency toolkit for testing multi-threaded code. Supports Java 1.6+.ConcurrentUnit was created to help developers test multi-threaded or asynchronous code. It allows you to perform assertions and wait for operations in any thread, with failures being properly reported back to the main test thread. If an assertion fails, your test fails, regardless of which thread the assertion came from.

Redisson - Redis based In-Memory Data Grid for Java

Redisson - distributed Java objects and services (Set, Multimap, SortedSet, Map, List, Queue, BlockingQueue, Deque, BlockingDeque, Semaphore, Lock, AtomicLong, Map Reduce, Publish / Subscribe, Bloom filter, Spring Cache, Executor service, Tomcat Session Manager, Scheduler service, JCache API) on top of Redis server. Rich Redis client.

TymeacAND - Multi-threading, fork-join framework for Android devices

TymeacAND is a full-feature, multi-threading, fork-join framework for Android devices. Development (IPC and internal server). TymeacAND provides a high performance queuing facility, professional thread management and recursive processing that is easy to use.

Do Work in Background Thread to Keep GUI Responsive

Demonstrate simple example of using BackgroundWorker class to do work on a background thread and then update the GUI in a thread-safe manner.