<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Futex on Nalar</title>
    <link>https://nalar.dev/tags/futex/</link>
    <description>Recent content in Futex on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 21 Sep 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/futex/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>futex_waitv Blocks on Multiple Futex Words in One Wait</title>
      <link>https://nalar.dev/futex-waitv-blocks-on-multiple-futex-words-in-one-wait/</link>
      <pubDate>Mon, 21 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://nalar.dev/futex-waitv-blocks-on-multiple-futex-words-in-one-wait/</guid>
      <description>&lt;p&gt;A traditional futex wait names one futex word. That maps cleanly to a mutex or condition whose blocking state is represented by one shared 32-bit value. Some synchronization designs instead need a thread to sleep until any member of several independent states changes.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;futex_waitv()&lt;/code&gt; provides that vector wait. The caller supplies an array of wait descriptors, each containing a futex address and an expected value. The kernel checks the vector and blocks only while every entry still matches its expected state.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
