]> git.kaiwu.me - nginx.git/commit
perl termination fixes:
authorIgor Sysoev <igor@sysoev.ru>
Thu, 16 Apr 2009 14:42:31 +0000 (14:42 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 16 Apr 2009 14:42:31 +0000 (14:42 +0000)
commitc26e7b9d49cf2d143b194342bf8d6f37de6ae197
tree09f36a41c20f2e39112b229942b7c4d9d1010eff
parente4ecddfdb0d2ffc872658e36028971ad9a873726
perl termination fixes:

*) master exit hook is run before global pool cleanup, so call PERL_SYS_TERM()
   after perl_destruct()/perl_free().  This fixes the message
        panic: MUTEX_LOCK (22) [op.c:352]
   on some threaded perl builds

*) call perl_destruct()/perl_free() before PERL_SYS_TERM() for
   non-mulitiplicity perl
src/http/modules/perl/ngx_http_perl_module.c