Welcome! Log In Create A New Profile

Advanced

How can the nginx detect the stale event using 'instance'?

김수영
February 21, 2012 04:52AM
These days, I am studying the nginx source code..

I think this code is very beautiful, and fully modulized.. BUT so it is difficult to follow the code.-_-;

BTW, In struct ngx_event_s, there is ‘unsigned instance:1;’..

I can’t understand how can the nginx detect the stale events using it.-_-;

Could you please explain the detection mechanism or give me a hint?

---------------------------------------------------------------------
SOO-YOUNG KIM
Senior Member of Engineering Staff
Storage System Research Team
Electronics and Telecommunications Research Institute

138 Gajeong-no, Yuseong-gu, Daejeon, 305-700 KOREA
Phone : 82-42-860-1682 Fax : 82-42-860-6699
Mobile : 82-10-9696-3032 E-mail : sykim@etri.re.kr
ETRI Homepage : www.etri.re.kr
---------------------------------------------------------------------

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

How can the nginx detect the stale event using 'instance'?

김수영 1296 February 21, 2012 04:52AM

Re: How can the nginx detect the stale event using 'instance'?

Maxim Dounin 484 February 21, 2012 08:30AM

RE: How can the nginx detect the stale event using 'instance'?

김수영 564 February 21, 2012 07:00PM

Re: How can the nginx detect the stale event using 'instance'?

Maxim Dounin 1041 February 22, 2012 09:14AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 279
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 466 on July 09, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready