Concurrency Control in Multithreaded Environments with SemaphoreSlim in C#
Year: 2025
Type: article
Abstract: This article explores concurrency control in multithreaded environments using the SemaphoreSlim class in C#. SemaphoreSlim is a lightweight semaphore implementation that limits the number of threads accessing a resource simultaneously, making it ideal for I/O operations. The article explains its operation, advantages and disadvantages, as well as providing practical implementation examples in scenarios such as database access and external services.
Author: Sabbag Filho, Nagib
Institution: Faculdade de Informática e Administração Paulista
Language: English
Subfield: Computer Networks and Communications
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W6931004227
FWCI:
Cites:
Cited by:
Related to:
