Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2021 19:23:31 -0700
From:      "Thomas D. Dean" <tomdean@wavecable.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: sys/timerfd.h missing
Message-ID:  <e65e10d7-d4f2-ce50-766d-1757bc1e7f5f@wavecable.com>
In-Reply-To: <15b672e6-8f3b-4c6c-a42c-e955216f630b@wavecable.com>
References:  <15b672e6-8f3b-4c6c-a42c-e955216f630b@wavecable.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 7/12/21 7:14 PM, Thomas D. Dean wrote:
>  > cc -O2 -pipe  hwmon.c  -o hwmon
> hwmon.c:1:10:fatal error: 'sys/timerfd.h' file not found
> 
> Any idea where I can find timerfd.h?
> 

Been away too long.

I want to:

start timer  /* >> loop execution time */
do something
while(1)
   wait timer
   start timer   /* >> loop execution time */
   do something
   do something else

Somewhere this is possible.  select?

Tom Dean



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e65e10d7-d4f2-ce50-766d-1757bc1e7f5f>