Changeset 11058


Ignore:
Timestamp:
03/10/10 20:22:11 (2 years ago)
Author:
adamk
Message:

Completed the move of the slave driver into the early part of startup

Location:
trunk/Padre
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/Changes

    r11042 r11058  
    66      (SEWI) 
    77    - Added a small survey for new Padre installation (SEWI) 
     8    - Resolved the clash between threads and SQLite by temporarily 
     9      disconnecting from SQLite during a thread spawn (ADAMK) 
     10    - Move the slave driver spawn into Padre::Startup, so that 
     11      we get much much smaller thread spawn memory penalty from the 
     12      interpreter copy (ADAMK) 
    813 
    9140.58 2010.03.08 
  • trunk/Padre/lib/Padre/Startup.pm

    r11008 r11058  
    6060        main_singleinstance_port => Padre::Constant::DEFAULT_SINGLEINSTANCE_PORT, 
    6161        startup_splash           => 1, 
     62        threads                  => 1, 
    6263    ); 
    6364 
     
    161162    } 
    162163 
     164    # If we are going to use threading, spawn off the slave 
     165    # driver as early as we possibly can so we reduce the amount of 
     166    # wasted memory copying to a minimum. 
     167    if ( $setting{threads} ) { 
     168        require Padre::SlaveDriver; 
     169        Padre::SlaveDriver->new; 
     170    } 
     171 
    163172    return 1; 
    164173} 
Note: See TracChangeset for help on using the changeset viewer.