LCOV - code coverage report
Current view: top level - libs/capy/src/ex - system_context.cpp (source / functions) Coverage Total Hit
Test: coverage_filtered.info Lines: 100.0 % 3 3
Test Date: 2026-01-30 23:43:15 Functions: 100.0 % 1 1

            Line data    Source code
       1              : //
       2              : // Copyright (c) 2026 Vinnie Falco (vinnie dot falco at gmail dot com)
       3              : //
       4              : // Distributed under the Boost Software License, Version 1.0. (See accompanying
       5              : // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
       6              : //
       7              : // Official repository: https://github.com/cppalliance/capy
       8              : //
       9              : 
      10              : #include <boost/capy/ex/system_context.hpp>
      11              : 
      12              : #include <mutex>
      13              : 
      14              : namespace boost {
      15              : namespace capy {
      16              : 
      17              : auto
      18            8 : get_system_context() -> thread_pool&
      19              : {
      20            8 :     static thread_pool ctx;
      21            8 :     return ctx;
      22              : }
      23              : 
      24              : } // namespace capy
      25              : } // namespace boost
        

Generated by: LCOV version 2.3