Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1019 Bytes

File metadata and controls

18 lines (12 loc) · 1019 Bytes

Examples

@brief Practical Condy code samples.

  • custom-allocator.cpp Demonstrates the use of condy::pmr and custom memory allocators to improve the performance of task creation and destruction.

  • echo-server.cpp A high-concurrency TCP echo server utilizing features like fixed file descriptors.

  • file-server.cpp A simple HTTP file server using condy::async_splice for asynchronous file and network IO.

  • futex-semaphore.cpp Implements simple asynchronous semaphores and mutexes based on condy::async_futex_wait and condy::async_futex_wake, and further builds a high-concurrency producer-consumer queue.

  • link-cp.cpp Implements concurrent file copying using features like fixed file descriptors, fixed buffers, and link operations, supporting O_DIRECT IO. Achieves up to 2x performance improvement compared to cp.