cplusplus: 실전적 클래스 설계와 구현

  • 홈
  • 태그
  • 방명록

Vector 1

C++ 강력한 동시성 제어(2) - BlockingQueue 구현

C++ 강력한 동시성 제어(1) - BlockingQueue 이해C++ 강력한 동시성 제어(2) - BlockingQueue 구현C++ 강력한 동시성 제어(3) - BlockingQueue을 이용한 Logger 이 글에서는 이전 포스팅 "C++ 강력한 동시성 제어(1) - BlockingQueue" 에서 구현해야 할 BlockingQueue를 std::deque가 아닌 std::vector기반으로 구현합니다. 이 구현은 boost::lockfree::queue보다 빠르며 표준 라이브러리를 이용한 구현으로 안정성과 편의성(자유로운 데이터형식, 디버깅)이 높고 외부 의존성을 피할 수 있습니다. std::vector기반의 BlockingQueue 벤치마크는 "C++ Lockfree Queue 항상 좋은 선택일..

카테고리 없음 2025.05.11
이전
1
다음
더보기

공지사항

  • 이 블로그는 왜 시작되었을까요?
  • 분류 전체보기 (26)

최근글과 인기글

  • 최근글
  • 인기글

Tag

recvmmsg, zero-cost, lockfree, template, spinlockguard, 제로, is_same_v, shared_ptr, C++, Atomic, crpt, C++17, sftp client, 제로코스트추상화, std::optional, lock_guard, blockingqueue, cpp, rcu, Modern,

Archives

  • C++ Core Guidelines
  • C++ Core Guidelines 한국어

티스토리툴바