[ dspam-Bug Tracker-3607521 ] Active loop in daemon could be avoided
SourceForge.net <[email protected]> Sun, 10 Mar 2013 05:51:57 -0700
| Newsgroups | gmane.mail.spam.dspam.devel |
|---|---|
| Message-ID | <[email protected]> |
Bug Tracker item #3607521, was opened at 2013-03-10 05:51 Message generated for change (Tracker Item Submitted) made by glandos You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=3607521&group_id=250683 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: daemon Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Glandos (glandos) Assigned to: Nobody/Anonymous (nobody) Summary: Active loop in daemon could be avoided Initial Comment: Currently, the daemon has an active loop. It calls select with a 2 seconds timeout, just to to be sure that no signal was raised. This could be avoided. I choose the self-pipe trick, cause it's the solution that integrate the most with the current code. Using pselect would have meant blocking signals just before the call, and would have needed a re-enabling in the process request. I didn't have the time to appreciate the impact of that. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=3607521&group_id=250683 ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev