Skip to content

Egg::Thread - Egg-based (Linux daemon handy SDK) simple thread pool

License

Notifications You must be signed in to change notification settings

tanuki-no/Egg-Thread

Repository files navigation

Egg-Thread

Egg::Thread - Egg-based (Linux daemon handy SDK) simple thread pool

This is the simple thread pool library based on the Egg (Linux daemon handy SDK) project. The thread library requires the Egg::System to be installed.

How to build?

Configure and install thread library for Egg (Linux daemon SDK):

  • create build:

    mkdir build

  • enter build:

    pushd build

  • configure using cmake: "cmake OPTIONS ..", where the options are:

    • -DBUILD_TESTS=ON|OFF (Default: OFF)
    • -DBUILD_SHARED_LIBS=ON|OFF
    • -DBUILD_STATIC_LIBS=OFF|ON
    • -DCMAKE_INSTALL_PREFIX:PATH=
    • -G"Eclipse CDT4 - Unix Makefiles" (to embed in Eclipse as the project)
  • Typical configuration:

    cmake
    -DCMAKE_INSTALL_PREFIX:PATH=/opt/egg
    -DBUILD_SHARED_LIBS=ON
    -DBUILD_STATIC_LIBS=OFF
    -DBUILD_TESTS=ON
    ..

  • Build and install:

    make && make install

  • Clean up:

    rm -rf ./*

  • Leave build

    popd

About

Egg::Thread - Egg-based (Linux daemon handy SDK) simple thread pool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published