Practical multithreading tutorials. Languages supported: C++, Java, C#, Python, Javascript/Nodejs.
-
Updated
Feb 27, 2024 - C++
Practical multithreading tutorials. Languages supported: C++, Java, C#, Python, Javascript/Nodejs.
C++ mutex collections, cross-platform header-only C++11 (or later) library.
Various flavored solutions to the Dining Philosophers problem.
Cross-platform/global/message queue/shared memory/semaphore/automatic unlocking跨平台/全局/消息队列/共享内存/信号量/自动解锁
Implements Mutex, Semaphore and exclusive ReadModifyWrite operations on ARM Cortex-M3 and Cortex-M4
C++ program(s) that implement(s) a specific protocol of IPC (Inter-Process Communication), using semaphores and shared memory segments.
solve a producer/consumer problem using semaphores and create your own monitor to provide synchronization support for a producer/consumer problem.
A cross-platform implementation of such synchronization objects as Notification / Synchronization Events, Waitable Timers, Socket Event, Thread, as well as functions for waiting for signaled state. The wait functions are analogues of WaitForSingleObject and WaitForMultileObjects used on Windows. the last one can wait for objects of different types.
Simple library to exchange data between the 2 cores of a Raspberry Pi Pico under Arduino IDE framework
🔐A C++ example demonstrating the OS concepts of Process Forking, Shared Memory, Semaphores by solving an interesting problem
Threads and Semaphores
Messing around with C++ threads
Multiprocessing: Processing EFTs with workers (in C++)
counting_semaphore implementation. This is header-only, no external dependency C++11 library. According to C++20 standard (https://en.cppreference.com/w/cpp/thread/counting_semaphore)
Threading utilities: object oriented (read/write) locking and more.
Demo project for Semaphore and Mutex implementations on ARM Cortex-M
Add a description, image, and links to the semaphore topic page so that developers can more easily learn about it.
To associate your repository with the semaphore topic, visit your repo's landing page and select "manage topics."