KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm writing a socket program that maintains FIFO queues for two input sockets. When deciding which queue to service, the program pulls the most recent time-stamp from each queue. I need a reliable method for comparing two timeval structs. I tried using timercmp() , but my version of gcc doesn't support it, and documentation states that the function is not POSIX compliant. What should I do?
Tags (comma-separated)
Save Edits
Cancel