[Top][All Lists]

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

Code for testing hurdselect.c

From: Svante Signell
Subject: Code for testing hurdselect.c
Date: Fri, 24 Aug 2012 04:52:15 +0200


As promised on IRC lately: attached is some test code I wrote in July
2011 when debugging ntpdate. Included is an annotated and (partially)
modified version of hurdselect.c and some test code. 

Changes made to hurdselect.c:
- annotated the code
- made the code more readable (at least in my opinion)
- file descriptors were read, sorted, and the good ones registered.
Note: Only for the poll case, select was not yet implemented!
- anything I've forgotten...

HTH in some way.

Attachment: test_hurdselect.tar.gz
Description: application/compressed-tar

reply via email to

[Prev in Thread] Current Thread [Next in Thread]