CVSROOT:        /cvs/src
Module name:    src
Changes by:     [EMAIL PROTECTED]       2005-11-10 15:04:06

Modified files:
        winsup/cygserver: ChangeLog README bsd_helper.cc bsd_helper.h 
                          cygserver.cc cygserver.conf process.cc 
                          process.h 

Log message:
        * bsd_helper.cc (securityinit): New function.  Move initialization
        of security related variables from ipcinit here.
        * bsd_helper.h (securityinit): Add prototype.
        * cygserver.cc (main): Call securityinit right after wincap.init.
        
        * process.cc (process_cache::process): Fix maximum process condition.
        
        * README: Add description for new -p/--process-cache option.
        * bsd_helper.cc (default_tun_check): Add kern.srv.process_cache_size
        entry to tunable_params. Set max value of kern.srv.request_threads
        to 310.
        * cygserver.cc (SERVER_VERSION): Set to 1.20.
        (print_usage): Print usage of new parameter -p.
        (main): Add process cache parameter handling. Accomodate new max
        value of request threads.
        * cygserver.conf: Add kern.srv.process_cache_size tunable parameter.
        Accomodate new max value of kern.srv.request_threads.
        * process.cc: Fix a comment.
        (process_cache::process_cache): Add max process cache size parameter.
        Change _cache_add_trigger to manual reset event.
        (struct pcache_wait_t): New struct used as parameter to
        pcache_wait_thread.
        (pcache_wait_thread): New thread function used for threaded process
        cache.
        (process_cache::wait_for_processes): Use threaded waiting if number
        of processes to wait for is bigger than 62. Always check all processes
        to avoid race under heavy load.
        (process_cache::sync_wait_array): Remove useless assert. Reset
        _cache_add_trigger right at the start since it's manual reset now.
        Accomodate threaded waiting.
        * process.h (process_cache::process_cache): Add max_procs parameter.
        (process_cache::_max_process_count): New member.
        (process_cache::_wait_array: Raise to allow up to 5 wait threads.
        (process_cache::_process_array): Ditto.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygserver/ChangeLog.diff?cvsroot=src&r1=1.48&r2=1.49
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygserver/README.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygserver/bsd_helper.cc.diff?cvsroot=src&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygserver/bsd_helper.h.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygserver/cygserver.cc.diff?cvsroot=src&r1=1.13&r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygserver/cygserver.conf.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygserver/process.cc.diff?cvsroot=src&r1=1.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygserver/process.h.diff?cvsroot=src&r1=1.5&r2=1.6

Reply via email to