• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Linux timers and threads

dds14u

Golden Member
In my operating systems class right now we're handling a torrent-like system, and we need to create timeouts for connections that have been idle for too long. Is there any way to create a timer unique to a thread? I know of the Linux alarm() function, but the thing is we may have multiple connections that we have to keep track of.

There's got to be a way...
 
Back
Top