Redis - key/value database
-
Updated
Mar 31, 2023 - Python
Redis - key/value database
A sleeping barber implementation
5.8 The roller coaster problem This problem is from Andrews’s Concurrent Programming [1], but he attributes it to J. S. Herman’s Master’s thesis. Suppose there are n passenger threads and a car thread. The passengers repeatedly wait to take rides in the car, which can hold C passengers, where C < n. The car can go around the tracks only when it …
Implementation of the Semaphore algorithm, which's a synchronization mechanism to control the processes that are being executed in the critical section and being used by shared resources.
A repo for going through the Little Book of Semaphores in python, because I have never gotten a concurrency question right in an interview. http://greenteapress.com/semaphores/LittleBookOfSemaphores.pdf
multi-threaded webcrawler using semaphores to synchronise threads
This project demonstrates threads, locks, semaphores, events, daemon threads, queues, socket programming, database programming and logging.
Simulação de um ecossistema aquático contendo Tubarões, Peixes, Focas e Algas implementado usando Threads em Python e Pygame
Python classes for safe deployment and management of Threads, Processes, synchronization primitives (Locks, Barriers, etc), thread-safe, and process-safe Python data structures (lists, dicts, sets, etc).
Develop a reservation system that incorporates principles of operating systems and socket programming. This system will handle concurrent and synchronized scheduling and seat booking, all managed within a multi-threaded environment.
Sistema de controle concorrente de acesso a uma sala de reuniões com capacidade limitada, utilizando Python, Sockets, Threads e Semáforos. Projeto da disciplina de Programação Concorrente e Distribuída na UCB (5º semestre).
Synchronizing a set of threads using semaphores and conditional operators
A simple, multithreaded file server written in python for my operating systems course.
Single Lane Bridge Simulation A Python-based simulation of the classical Single Lane Bridge synchronization problem using threads, semaphores, and locks. Features both a Tkinter desktop GUI for interactive visualization. Demonstrates concurrency control, fairness, and starvation prevention in operating systems.
Add a description, image, and links to the semaphores topic page so that developers can more easily learn about it.
To associate your repository with the semaphores topic, visit your repo's landing page and select "manage topics."