IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 8, 2008, 11:26:00 AM (18 years ago)
Author:
eugene
Message:

add comments re thread safety

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/lib.shell/ConfigInit.c

    r16440 r16888  
    33static char *GlobalConfig;
    44
     5// this function is only called at start, so it is not thread protect
    56int ConfigInit (int *argc, char **argv) {
    67
     
    1920  free (file);
    2021  return (TRUE);
     22}
     23
     24// this function is only called at shutdown, so it is not thread protect
     25void ConfigFree () {
     26  if (GlobalConfig) free (GlobalConfig);
     27  return;
    2128}
    2229
     
    6572}
    6673
    67 void ConfigFree () {
    68   if (GlobalConfig) free (GlobalConfig);
    69   return;
    70 }
Note: See TracChangeset for help on using the changeset viewer.