use a correct value for kShutdownDetectorThreadStackSize
use a correct value for kShutdownDetectorThreadStackSize

Previously a hard coded value of 4096 was used as the stack size,
which is wrong because POSIX mandates that pthread_attr_setstacksize()
fails with EINVAL if the stacksize is less than PTHREAD_STACK_MIN.
On Linux it is smaller than PTHREAD_STACK_MIN, then it is set to RLIMIT_STACK,
which is huge compared to the expected 4096 bytes.
By using PTHREAD_STACK_MIN it is ensured that the smallest and still
correct stack size is used for the ShutdownDetectorThread.

BUG=
TEST=compile


Review URL: http://codereview.chromium.org/9405005

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@122182 0039d316-1c4b-4281-b951-d872f2087c98

nacl-webkit/chrome_deps,axinging/chromium-crosswalk,M4sse/chromium.src,rogerwang/chromium,patrickm/chromium.src,junmin-zhu/chromium-rivertrail,robclark/chromium,hgl888/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,Jonekee/chromium.src,markYoungH/chromium.src,Just-D/chromium-1,Chilledheart/chromium,nacl-webkit/chrome_deps,hujiajie/pa-chromium,nacl-webkit/chrome_deps,Fireblend/chromium-crosswalk,Jonekee/chromium.src,TheTypoMaster/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,ChromiumWebApps/chromium,chuan9/chromium-crosswalk,keishi/chromium,Chilledheart/chromium,hgl888/chromium-crosswalk-efl,ondra-novak/chromium.src,nacl-webkit/chrome_deps,M4sse/chromium.src,littlstar/chromium.src,Fireblend/chromium-crosswalk,timopulkkinen/BubbleFish,markYoungH/chromium.src,robclark/chromium,ondra-novak/chromium.src,ChromiumWebApps/chromium,mohamed--abdel-maksoud/chromium.src,junmin-zhu/chromium-rivertrail,pozdnyakov/chromium-crosswalk,ChromiumWebApps/chromium,dushu1203/chromium.src,Just-D/chromium-1,ltilve/chromium,littlstar/chromium.src,dushu1203/chromium.src,zcbenz/cefode-chromium,M4sse/chromium.src,hgl888/chromium-crosswalk,junmin-zhu/chromium-rivertrail,hgl888/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,fujunwei/chromium-crosswalk,nacl-webkit/chrome_deps,anirudhSK/chromium,Chilledheart/chromium,Jonekee/chromium.src,nacl-webkit/chrome_deps,rogerwang/chromium,chuan9/chromium-crosswalk,ChromiumWebApps/chromium,keishi/chromium,junmin-zhu/chromium-rivertrail,TheTypoMaster/chromium-crosswalk,anirudhSK/chromium,zcbenz/cefode-chromium,hgl888/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,Chilledheart/chromium,chuan9/chromium-crosswalk,dushu1203/chromium.src,zcbenz/cefode-chromium,pozdnyakov/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,jaruba/chromium.src,Pluto-tv/chromium-crosswalk,anirudhSK/chromium,axinging/chromium-crosswalk,ondra-novak/chromium.src,Just-D/chromium-1,mogoweb/chromium-crosswalk,hujiajie/pa-chromium,rogerwang/chromium,markYoungH/chromium.src,fujunwei/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,zcbenz/cefode-chromium,ondra-novak/chromium.src,axinging/chromium-crosswalk,Chilledheart/chromium,hgl888/chromium-crosswalk-efl,littlstar/chromium.src,rogerwang/chromium,dushu1203/chromium.src,mogoweb/chromium-crosswalk,M4sse/chromium.src,robclark/chromium,anirudhSK/chromium,hujiajie/pa-chromium,ondra-novak/chromium.src,mohamed--abdel-maksoud/chromium.src,axinging/chromium-crosswalk,dushu1203/chromium.src,krieger-od/nwjs_chromium.src,pozdnyakov/chromium-crosswalk,ondra-novak/chromium.src,axinging/chromium-crosswalk,timopulkkinen/BubbleFish,krieger-od/nwjs_chromium.src,anirudhSK/chromium,nacl-webkit/chrome_deps,hujiajie/pa-chromium,jaruba/chromium.src,patrickm/chromium.src,Chilledheart/chromium,junmin-zhu/chromium-rivertrail,robclark/chromium,crosswalk-project/chromium-crosswalk-efl,Pluto-tv/chromium-crosswalk,timopulkkinen/BubbleFish,timopulkkinen/BubbleFish,Fireblend/chromium-crosswalk,zcbenz/cefode-chromium,Pluto-tv/chromium-crosswalk,fujunwei/chromium-crosswalk,hujiajie/pa-chromium,ChromiumWebApps/chromium,patrickm/chromium.src,mohamed--abdel-maksoud/chromium.src,ChromiumWebApps/chromium,dednal/chromium.src,mogoweb/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,jaruba/chromium.src,PeterWangIntel/chromium-crosswalk,dushu1203/chromium.src,littlstar/chromium.src,jaruba/chromium.src,crosswalk-project/chromium-crosswalk-efl,hgl888/chromium-crosswalk,krieger-od/nwjs_chromium.src,hgl888/chromium-crosswalk-efl,M4sse/chromium.src,crosswalk-project/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,junmin-zhu/chromium-rivertrail,robclark/chromium,ondra-novak/chromium.src,hujiajie/pa-chromium,crosswalk-project/chromium-crosswalk-efl,timopulkkinen/BubbleFish,anirudhSK/chromium,keishi/chromium,PeterWangIntel/chromium-crosswalk,markYoungH/chromium.src,ChromiumWebApps/chromium,dednal/chromium.src,mohamed--abdel-maksoud/chromium.src,M4sse/chromium.src,zcbenz/cefode-chromium,Jonekee/chromium.src,krieger-od/nwjs_chromium.src,hujiajie/pa-chromium,hujiajie/pa-chromium,Pluto-tv/chromium-crosswalk,krieger-od/nwjs_chromium.src,pozdnyakov/chromium-crosswalk,zcbenz/cefode-chromium,bright-sparks/chromium-spacewalk,Fireblend/chromium-crosswalk,keishi/chromium,Just-D/chromium-1,PeterWangIntel/chromium-crosswalk,jaruba/chromium.src,mogoweb/chromium-crosswalk,Fireblend/chromium-crosswalk,dednal/chromium.src,hujiajie/pa-chromium,Jonekee/chromium.src,Jonekee/chromium.src,ltilve/chromium,anirudhSK/chromium,littlstar/chromium.src,krieger-od/nwjs_chromium.src,Fireblend/chromium-crosswalk,littlstar/chromium.src,markYoungH/chromium.src,mogoweb/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,ChromiumWebApps/chromium,rogerwang/chromium,timopulkkinen/BubbleFish,dushu1203/chromium.src,keishi/chromium,Jonekee/chromium.src,PeterWangIntel/chromium-crosswalk,fujunwei/chromium-crosswalk,hujiajie/pa-chromium,ChromiumWebApps/chromium,pozdnyakov/chromium-crosswalk,ltilve/chromium,patrickm/chromium.src,Chilledheart/chromium,chuan9/chromium-crosswalk,nacl-webkit/chrome_deps,axinging/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,Just-D/chromium-1,bright-sparks/chromium-spacewalk,rogerwang/chromium,mohamed--abdel-maksoud/chromium.src,robclark/chromium,ondra-novak/chromium.src,fujunwei/chromium-crosswalk,hgl888/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,M4sse/chromium.src,mohamed--abdel-maksoud/chromium.src,mohamed--abdel-maksoud/chromium.src,robclark/chromium,Jonekee/chromium.src,fujunwei/chromium-crosswalk,zcbenz/cefode-chromium,keishi/chromium,axinging/chromium-crosswalk,hujiajie/pa-chromium,Pluto-tv/chromium-crosswalk,dushu1203/chromium.src,hgl888/chromium-crosswalk-efl,timopulkkinen/BubbleFish,Fireblend/chromium-crosswalk,patrickm/chromium.src,TheTypoMaster/chromium-crosswalk,dushu1203/chromium.src,anirudhSK/chromium,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk-efl,markYoungH/chromium.src,markYoungH/chromium.src,crosswalk-project/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,keishi/chromium,markYoungH/chromium.src,nacl-webkit/chrome_deps,bright-sparks/chromium-spacewalk,ltilve/chromium,Just-D/chromium-1,ltilve/chromium,robclark/chromium,Jonekee/chromium.src,rogerwang/chromium,pozdnyakov/chromium-crosswalk,patrickm/chromium.src,dednal/chromium.src,robclark/chromium,dednal/chromium.src,littlstar/chromium.src,hgl888/chromium-crosswalk,jaruba/chromium.src,chuan9/chromium-crosswalk,fujunwei/chromium-crosswalk,ltilve/chromium,mohamed--abdel-maksoud/chromium.src,nacl-webkit/chrome_deps,keishi/chromium,bright-sparks/chromium-spacewalk,jaruba/chromium.src,markYoungH/chromium.src,fujunwei/chromium-crosswalk,dednal/chromium.src,TheTypoMaster/chromium-crosswalk,pozdnyakov/chromium-crosswalk,bright-sparks/chromium-spacewalk,dednal/chromium.src,Fireblend/chromium-crosswalk,axinging/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,keishi/chromium,krieger-od/nwjs_chromium.src,rogerwang/chromium,PeterWangIntel/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk,patrickm/chromium.src,hgl888/chromium-crosswalk-efl,ChromiumWebApps/chromium,chuan9/chromium-crosswalk,nacl-webkit/chrome_deps,mogoweb/chromium-crosswalk,ltilve/chromium,dushu1203/chromium.src,markYoungH/chromium.src,dednal/chromium.src,dednal/chromium.src,Just-D/chromium-1,krieger-od/nwjs_chromium.src,PeterWangIntel/chromium-crosswalk,ChromiumWebApps/chromium,dushu1203/chromium.src,junmin-zhu/chromium-rivertrail,Just-D/chromium-1,anirudhSK/chromium,M4sse/chromium.src,rogerwang/chromium,jaruba/chromium.src,M4sse/chromium.src,rogerwang/chromium,axinging/chromium-crosswalk,zcbenz/cefode-chromium,Just-D/chromium-1,robclark/chromium,PeterWangIntel/chromium-crosswalk,junmin-zhu/chromium-rivertrail,fujunwei/chromium-crosswalk,anirudhSK/chromium,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk,hgl888/chromium-crosswalk-efl,Fireblend/chromium-crosswalk,M4sse/chromium.src,ondra-novak/chromium.src,patrickm/chromium.src,patrickm/chromium.src,krieger-od/nwjs_chromium.src,anirudhSK/chromium,junmin-zhu/chromium-rivertrail,hgl888/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,jaruba/chromium.src,hgl888/chromium-crosswalk,timopulkkinen/BubbleFish,junmin-zhu/chromium-rivertrail,junmin-zhu/chromium-rivertrail,littlstar/chromium.src,hgl888/chromium-crosswalk,Chilledheart/chromium,Jonekee/chromium.src,bright-sparks/chromium-spacewalk,bright-sparks/chromium-spacewalk,jaruba/chromium.src,mogoweb/chromium-crosswalk,anirudhSK/chromium,Pluto-tv/chromium-crosswalk,chuan9/chromium-crosswalk,zcbenz/cefode-chromium,ltilve/chromium,krieger-od/nwjs_chromium.src,keishi/chromium,zcbenz/cefode-chromium,bright-sparks/chromium-spacewalk,bright-sparks/chromium-spacewalk,timopulkkinen/BubbleFish,dednal/chromium.src,ChromiumWebApps/chromium,pozdnyakov/chromium-crosswalk,Pluto-tv/chromium-crosswalk,dednal/chromium.src,jaruba/chromium.src,ltilve/chromium,Pluto-tv/chromium-crosswalk,mogoweb/chromium-crosswalk,Chilledheart/chromium,markYoungH/chromium.src,timopulkkinen/BubbleFish,pozdnyakov/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,chuan9/chromium-crosswalk,axinging/chromium-crosswalk,keishi/chromium,Jonekee/chromium.src,M4sse/chromium.src,chuan9/chromium-crosswalk,krieger-od/nwjs_chromium.src,TheTypoMaster/chromium-crosswalk