On 18/10/07 17:01, Rob Janssen wrote:
> Simon Arlott schreef:
>>
>> This part doesn't:
>>
>>     if (getuid() == 0) {
>>     (void)nice(-10);        /* for precise timekeeping increase priority */
>>
>> gpsd never sets realtime priority:
>>   
> 
> It used to be there, but unfortunately there sometimes were bugs that 
> made gpsd spin in a tight loop, and it has 2 times crashed my entire 
> system because it was running at realtime priority.
> Then I removed the call.  On my system it seems to make no difference.  
> When you want it, and trust the gpsd code to be loop-free, feel free to 
> add it again.

The PPS thread should be realtime - the rest of the daemon doesn't.


-- 
Simon Arlott

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
timekeepers mailing list
[email protected]
https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers

Reply via email to