<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Semaphore</title>
    <link>/api/evl/semaphore/index.html</link>
    <description>Synchronizing on a semaphore EVL implements the classic Dijkstra semaphore construct, with an API close to the POSIX specification for the basic operations.&#xA;Semaphore services evl_create_sem()Create a semaphore, setting its clock, initial count and visibility. ▼ in-band evl_new_sem()Create a private, zero-initialized semaphore. ▼ in-band EVL_SEM_INITIALIZERInitialize a semaphore statically, created on first use. evl_flush_sem()Wake up all waiters of a semaphore. 🟰 no stage switch evl_open_sem()Open an existing semaphore by name. ▼ in-band evl_get_sem()Decrement a semaphore, waiting as long as needed. ▲ out-of-band evl_timedget_sem()Decrement a semaphore, waiting until a deadline at most. ▲ out-of-band evl_put_sem()Increment a semaphore. 🟰 no stage switch evl_tryget_sem()Decrement a semaphore only if its count stays positive. 🟰 no stage switch evl_peek_sem()Read the count of a semaphore. 🟰 no stage switch evl_close_sem()Close a semaphore. ▼ in-band int evl_create_sem(struct evl_sem *sem, int clockfd, init initval, int flags, const char *fmt, ...) #include &lt;evl/sem.h&gt; ▼ in-band non-EVL threads: yes This call creates a semaphore, returning a file descriptor representing the new object upon success. This is the generic call form; for creating a semaphore with common pre-defined settings, see evl_new_sem().</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <copyright>Copyright 2001-2026 The Xenomai project.</copyright>
    <atom:link href="/api/evl/semaphore/index.xml" rel="self" type="application/rss+xml" />
  </channel>
</rss>