Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 91c9ad381409be83c44eb3d7be1527ca419ed5ab
Ticket: 3056775fffffffffffffffffffffffffffffffff
Socket -server stops accepting connections under load
User & Date: twylite on 2010-09-23 05:33:34
Changes

  1. icomment:
    > seems that you are putting the locks around the statement
    >
    > "infoPtr->acceptEventCount--;"
    
    Sorry, doesn't sound right.  I think the lock is meant to be around this code block:
    
    1483          infoPtr->acceptEventCount--;
    1484
    1485    if (infoPtr->acceptEventCount <= 0) {
    1486        infoPtr->readyEvents &= ~(FD_ACCEPT);
    1487    }
    1488
    
    
    
  2. login: "twylite"
  3. mimetype: "text/plain"
  4. username: "twylite"