LCOV - code coverage report
Current view: top level - singledishfiller/Filler - PThreadUtil.cc (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 0 8 0.0 %
Date: 2024-12-11 20:54:31 Functions: 0 2 0.0 %

          Line data    Source code
       1             : /*
       2             :  * PThreadUtils.cc
       3             :  *
       4             :  *  Created on: Feb 29, 2016
       5             :  *      Author: nakazato
       6             :  */
       7             : 
       8             : #include <singledishfiller/Filler/PThreadUtil.h>
       9             : 
      10             : namespace casa { //# NAMESPACE CASA - BEGIN
      11             : namespace sdfiller { //# NAMESPACE SDFILLER - BEGIN
      12             : 
      13           0 : void create_thread(pthread_t *tid, pthread_attr_t *attr, void *(*func)(void *),
      14             :         void *param) {
      15           0 :     int ret = pthread_create(tid, attr, func, param);
      16           0 :     THROW_IF(ret != 0,
      17             :             "create_thread: failed to create thread with default creation");
      18           0 : }
      19           0 : void join_thread(pthread_t *tid, void **status) {
      20           0 :     int ret = pthread_join(*tid, status);
      21           0 :     THROW_IF(ret != 0, "join_thread: failed to finalize the thread");
      22           0 : }
      23             : 
      24             : } //# NAMESPACE SDFILLER - END
      25             : } //# NAMESPACE CASA - END
      26             : 
      27             : 

Generated by: LCOV version 1.16