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

@@ -22,6 +22,7 @@ of this distribution.
#include <string.h>
#include "dbDefs.h"
#include "osiThread.h"
#include "epicsPrint.h"
#include "errMdef.h"
#include "dbStaticLib.h"
@@ -47,6 +48,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,

View File

@@ -22,6 +22,7 @@ of this distribution.
#include <string.h>
#include "dbDefs.h"
#include "osiThread.h"
#include "epicsPrint.h"
#include "errMdef.h"
#include "dbStaticLib.h"
@@ -47,6 +48,7 @@ int main(int argc,char **argv)
static char *pathSep = OSI_PATH_LIST_SEPARATOR;
static char *subSep = ",";
threadInit();
/*Look for options*/
if(argc<2) {
printf("usage: dbReadTest -Idir -Smacsub file.dbd file.db \n");

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");

View File

@@ -22,6 +22,7 @@ of this distribution.
#include <ctype.h>
#include "dbDefs.h"
#include "osiThread.h"
#include "epicsPrint.h"
#include "errMdef.h"
#include "dbStaticLib.h"
@@ -55,6 +56,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: dbToRecordtypeH -Idir -Idir file.dbd [outfile]\n");