ace 지원 epoll 컴 파일 방법

ace support epoll
    ACE   epoll[zhuan]  
    ,            linux   ACE。    ACE linux     select   Reactor ,epoll   select           ,         :
      :    ACE 
     ACE     ACE_Dev_Poll_Reactor    epoll,  ACE               ,         ACE_Dev_Poll_Reactor     ACE  (faint,      ACE,                    ).       Redhat linux AS4.0,ACE    5.4.10。  ACE     ACE-INSTALL.html,   ”Building ACE with GNU Autoconf“        ,      (   ,     ):
       1 cd to the top-level ACE_wrappers directory.

       2.Create a subdirectory to hold your build’s configuration and built ACE version,     and   then change to the new directory:

       mkdir build
       cd build
    
       3.Note that you do not run the create_ace_build.pl utility mentioned in the Cloning the Source Tree section. The configure script takes care of creating all files and links that are needed.
Configure ACE for your platform by issuing the following command: c

       ../configure [options]
     
      4.Build ACE by typing make.

      5. Install ACE by typing make install.
       ,          ACE_Dev_Poll_Reactor   ACE    。               ACE_wrappers/ace /config-linux.h,    :#define ACE_HAS_EVENT_POLL,     2、3 , 3 .. /configure     ,build             ,  ACE_wrappers/build/ace/config.h,    :#define ACE_HAS_EVENT_POLL。     4 make  5 make install.OK,        ,   epoll ACE      。
       :      
                 ,      ,         (         ACE_Reactor::instance()  )  :
       
        m_pDevPollReactor=new ACE_Dev_Poll_Reactor;
       ACE_Reactor::instance(new ACE_Reactor(m_pDevPollReactor));
      
              ACE_Reactor::instance()       ACE_Dev_Poll_Reactor    。
  
     :        
  
              makefile    -DACE_HAS_EVENT_POLL,  make    。OK,    。

좋은 웹페이지 즐겨찾기