glibc/tests/Regression/bz1882466-RHEL8-2-LD-PRELOAD-of-some-lib-that-has/testlib.cc

18 lines
242 B
C++
Raw Normal View History

2021-11-18 15:45:23 +00:00
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
static int* internal_lock = NULL;
static void cuda_hook_init ()
{
printf("%s:%d\n",__func__,__LINE__);
if(internal_lock == NULL)
{
printf("%s:%d\n",__func__,__LINE__);
}
}