func: void *stonesoup_calc_data (void *data) struct stonesoup_queue * ssQ ; ssQ = get_instance ( NULL ); struct stonesoup_queue *get_instance (char* file2) static struct stonesoup_queue * ssQ = NULL ; if ( ssQ == NULL )  if ( file2 != NULL )  stonesoup_readFile ( file2 ); void stonesoup_readFile(char *filename) FILE * fifo ; fifo = fopen ( filename , "r" ); if ( fifo != NULL )  fclose ( fifo ); 