basic_system_executor::post 주어진 함수 개체를 호출하도록 시스템 실행기(executor)에게 요청한다. template void post( Function && f, const OtherAllocator & a) const; 이 함수는 실행기(executor)에게 주어진 함수 개체를 실행하도록 요청하는데 사용된다. 함수 개체는 이 함수 내에서 실행되지 않는다. 대신 지정되지 않은 시스템 스레드 풀에서 실행되도록 예약된다. 파리미터 이 름 설 명 f 호출될 함수 개체이다. 실행기(executor)는 필요에 따라 핸들러 개체의 복사본을 만들 수 있다. 함수 개체의 함수 서명은 다음과 같아야 한다: void..
basic_system_executor::operator== 두 실행기(executor)가 동일한지 비교한다. friend bool operator==( const basic_system_executor & , const basic_system_executor & ); 동일한 기저 io_context를 참조하는 경우 두 실행기(executor)는 동일합니다. 요구 사항 일반 헤더: boost/asio/system_executor.hpp 편의 헤더: boost/asio.hpp Boost.Asio 홈