Ignore:
Timestamp:
2012-01-23 14:09:21 (2 years ago)
Author:
Poul-Henning Kamp <phk@…>
Branches:
master, 4.0, experimental-ims
Children:
e5a0c6
Parents:
ac78724
git-author:
Poul-Henning Kamp <phk@…> (2012-01-23 14:09:21)
git-committer:
Poul-Henning Kamp <phk@…> (2012-01-23 14:09:21)
Message:

Move the accept sockets into the new pool-task API and GC all the
cruft now not needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bin/varnishd/cache/cache.h

    rac78724 rb04b83b  
    305305/*--------------------------------------------------------------------*/ 
    306306 
    307 enum e_do_what { 
    308         pool_do_inval = 0, 
    309         pool_do_sess, 
    310         pool_do_accept, 
    311         pool_do_nothing, 
    312         pool_do_die, 
    313 }; 
    314  
    315307struct worker { 
    316308        unsigned                magic; 
     
    324316        struct dstat            stats; 
    325317 
    326         /* New Pool stuff */ 
    327318        struct pool_task        task; 
    328  
    329         /* Pool stuff */ 
    330         enum e_do_what          do_what; 
    331319 
    332320        double                  lastused; 
     
    939927void SES_GetReq(struct sess *sp); 
    940928void SES_ReleaseReq(struct sess *sp); 
    941 pool_func_t SES_pool_task; 
    942929pool_func_t SES_pool_accept_task; 
    943930 
Note: See TracChangeset for help on using the changeset viewer.