~ubuntu-branches/ubuntu/utopic/haproxy/utopic-proposed

« back to all changes in this revision

Viewing changes to src/ev_select.c

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Cornet
  • Date: 2008-08-30 18:06:31 UTC
  • mfrom: (1.1.4 upstream) (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080830180631-l8aev9t9naanfc05
New Upstream Version (Closes: #497186).

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
                
90
90
        /* allow select to return immediately when needed */
91
91
        delta.tv_sec = delta.tv_usec = 0;
92
 
        if (tv_isset(exp)) {
 
92
        if (!run_queue && tv_isset(exp)) {
93
93
                if (tv_islt(&now, exp)) {
94
94
                        tv_remain(&now, exp, &delta);
95
95
                        /* To avoid eventual select loops due to timer precision */