Книга: Real-Time Concepts for Embedded Systems

6.1 Introduction

6.1 Introduction

Multiple concurrent threads of execution within an application must be able to synchronize their execution and coordinate mutually exclusive access to shared resources. To address these requirements, RTOS kernels provide a semaphore object and associated semaphore management services.

This chapter discusses the following:

· defining a semaphore,

· typical semaphore operations, and

· common semaphore use.


Генерация: 0.083. Запросов К БД/Cache: 0 / 0
поделиться
Вверх Вниз