call threadInit() in main
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user