Skip to content

Make sure that the build works if "WITH_THREADS=OFF" #2058

@huitema

Description

@huitema

PR #2049 fixes the "embedded" part of build process to ensure that all libraries are properly loaded, including the "threads" library. We may at some point want to make the dependency on threads optional. It should be possible to build a picoquic library that does not depend on threads. The dependency is mostly in the "socket loop" code, and there is already an option for application to plug in function pointers for their own library. There are definitely platforms (e.g., ESP32) for which we do not want to use threads.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions