Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
cups154.3289
cups-polld_avoid_busy_loop.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cups-polld_avoid_busy_loop.patch of Package cups154.3289
--- scheduler/cups-polld.c.orig 2012-03-02 19:26:30.000000000 +0100 +++ scheduler/cups-polld.c 2013-07-05 14:33:08.000000000 +0200 @@ -169,10 +169,15 @@ main(int argc, /* I - Number of comm /* * Sleep for any remaining time... + * but in case of unusual issues (if remain <= 0 or if restart_polling) + * sleep interval seconds to avoid any possible busy-loop + * see for example https://bugzilla.novell.com/show_bug.cgi?id=828228 */ if (remain > 0 && !restart_polling) sleep(remain); + else + sleep(interval); } return (1);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor