tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: timers related



You can find the FreeBSD sources at:

http://src.illumos.org/source/
or
https://grok.dragonflybsd.org/
or
http://bxr.su/

2016-05-30 4:28 GMT+02:00 Charles Cui <charles.cui1984%gmail.com@localhost>:
> Thanks for these information!
> I will implement these missing features asap.
>
> 2016-05-29 6:46 GMT-07:00 Christos Zoulas <christos%zoulas.com@localhost>:
>
>> On May 28, 11:28pm, charles.cui1984%gmail.com@localhost (Charles Cui) wrote:
>> -- Subject: timers related
>>
>> | HI guys,
>> |
>> |     I have 3 timers related macro to be added, which are _SC_CPUTIME,
>> | _SC_THREAD_CPUTIME and _SC_DELAYTIMER_MAX.
>> | the first and second are set to be 200112L in freebsd. I am wondering
>> | what's the meaning of those macros? and what are the cases to use these
>> | macros? I am thinking of where to add logics related with these macros.
>> By
>> | the way, freebsd source cannot be browsed on nxr any more?
>>
>> _SC_CPUTIME is for clock_getcpuclockid()
>> https://sourceforge.net/p/posixtest/mailman/message/3663935/
>> _SC_THREAD_CPUTIME is for pthread_getclockcpuid()
>> _SC_DELAYTIMER_MAX is for timer_getoverrun()
>> https://docs.oracle.com/cd/E19683-01/816-0213/6m6ne38dd/index.html
>> http://man7.org/linux/man-pages/man2/timer_getoverrun.2.html
>>
>> I just used google to find them...
>>
>> christos
>>


Home | Main Index | Thread Index | Old Index