ºìÁªLinuxÃÅ»§
Linux°ïÖú

vsµ÷ÊÔ¹ý³ÌÖе¯³öCtrl-c´íÎó

·¢²¼Ê±¼ä:2008-04-02 00:34:04À´Ô´:ºìÁª×÷Õß:Syah
ÔÚÔËÐÐHAStatus.exe[examples/APG/Reactor/HAStatus]ʱºò£¬Èç¹û°´Ctrl+C¾Í»áÔÚÊä³öÖгöÏÖ£¬ÔÚACE_TMAINÖÐ×¢Ê͵ôËùÓÐÓï¾ä£¬Ö»±£Áô

ACE_Reactor::instance ()->run_reactor_event_loop ();

return (0);

Ò²»á³öÏÖÕâÖÖÇé¿ö£¬ÔÚUbuntuÏÂÃæ°´Ctal-CûÓгöÏÖÒì³££¬³ÌÐòÇÄÇĵؽáÊø¡£HAStatus.exe ÖÐµÄ 0x7c87534d ´¦×î¿ÉÄܵÄÒì³£: 0x40010005: Control-C

Ïß³Ì 'Win32 Ïß³Ì' (0x1728) ÒÑÍ˳ö£¬·µ»ØֵΪ 0 (0x0)¡£

³ÌÐò¡°[3820] HAStatus.exe: ±¾»ú¡±ÒÑÍ˳ö£¬·µ»ØֵΪ 0 (0x0)¡£

¸ÕÊÔÁËһϣ¬ ÔÚvs2005ÖбàÒëµÄ³ÌÐòÖ»ÒªÔÚheapÉÏ·ÖÅäÁËÄڴ棬¼´Ê¹Í¨¹ýauto_ptr°Ñ·ÖÅäµÄÄÚ´æ¹ÜÀíÆðÀ´ÁË£¬»¹ÊÇ»áÔÚCtrl-cʱ³öÏÖ´íÎó¡£ÎªÉ¶ÔÚLinuxÖÐûÓÐÕâÑùµÄ´íÎóÌáʾ£¿ ¿ÉÄÜÔÚvsÖе÷ÊÔ³ÌÐòʱ£¬¼ì²âµ½ÁËÕâÖÖÒì³£¾Íµ¯³öÕâ¸ö¶Ô»°¿òÁË°É¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ