<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Timekeeping on Nalar</title>
    <link>https://nalar.dev/id/tags/timekeeping/</link>
    <description>Recent content in Timekeeping on Nalar</description>
    <generator>Hugo</generator>
    <language>id-id</language>
    <lastBuildDate>Tue, 22 Sep 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://nalar.dev/id/tags/timekeeping/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>TFD_TIMER_CANCEL_ON_SET Melaporkan Perubahan Diskontinu Clock Realtime</title>
      <link>https://nalar.dev/id/timerfd-cancel-on-set-melaporkan-perubahan-diskontinu-clock-realtime/</link>
      <pubDate>Tue, 22 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://nalar.dev/id/timerfd-cancel-on-set-melaporkan-perubahan-diskontinu-clock-realtime/</guid>
      <description>&lt;p&gt;&lt;code&gt;timerfd&lt;/code&gt; yang dipasang terhadap wall clock dapat mengalami perubahan clock diskontinu sebelum deadline tercapai. Dengan &lt;code&gt;TFD_TIMER_CANCEL_ON_SET&lt;/code&gt;, Linux mengekspos kejadian itu melalui descriptor: &lt;code&gt;read()&lt;/code&gt; berikutnya gagal dengan &lt;code&gt;ECANCELED&lt;/code&gt;, bukan menyajikan lompatan clock sebagai expiration timer biasa.&lt;/p&gt;&#xA;&lt;p&gt;Cakupan flag ini sengaja sempit. Efeknya berlaku ketika &lt;code&gt;timerfd_settime()&lt;/code&gt; memasang timer absolut pada &lt;code&gt;CLOCK_REALTIME&lt;/code&gt; atau &lt;code&gt;CLOCK_REALTIME_ALARM&lt;/code&gt;, lalu clock tersebut mengalami perubahan diskontinu.&lt;/p&gt;&#xA;&lt;h2 id=&#34;cancellation-terikat-pada-timer-realtime-absolut&#34;&gt;Cancellation terikat pada timer realtime absolut&lt;/h2&gt;&#xA;&lt;p&gt;&lt;code&gt;timerfd_create()&lt;/code&gt; memilih clock yang menjadi basis timer. Descriptor dengan &lt;code&gt;CLOCK_REALTIME&lt;/code&gt; mengikuti system wall clock, sedangkan &lt;code&gt;CLOCK_MONOTONIC&lt;/code&gt; mengikuti clock yang tidak disetel melalui perubahan wall clock.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
