Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 735 Bytes

Fibers.md

File metadata and controls

35 lines (21 loc) · 735 Bytes

Fibers

Check if Fibers can be used.

This module adds Boost fiber assembly files support if available for the platform, otherwise it checks if ucontext can be used.

Control variables

  • ZEND_FIBER_ASM

    Whether to use Boost fiber assembly files.

Cache variables

  • ZEND_FIBER_UCONTEXT

    Whether <ucontext.h> header file is available and should be used.

Interface library

  • Zend::Fibers

    Interface library using Boost fiber assembly files and compile options if available.

Usage

# CMakeLists.txt
include(cmake/Fibers.cmake)