call threadInit() in main

This commit is contained in:
Marty Kraimer
2000-03-14 20:33:52 +00:00
parent 9edfa9f2e6
commit eb3bb1d5ce
4 changed files with 8 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ of this distribution.
#include <string.h>
#include "dbDefs.h"
#include "osiThread.h"
#include "epicsPrint.h"
#include "errMdef.h"
#include "dbStaticLib.h"
@@ -51,6 +52,7 @@ int main(int argc,char **argv)
static char *pathSep = OSI_PATH_LIST_SEPARATOR;
static char *subSep = ",";
threadInit();
/*Look for options*/
if(argc<2) {
fprintf(stderr,"usage: dbToMenu -Idir -Idir file.dbd [outfile]\n");