equal
deleted
inserted
replaced
80 #define maxval(a,b) ((a>b)?a:b) |
80 #define maxval(a,b) ((a>b)?a:b) |
81 int startPLC(int argc,char **argv) |
81 int startPLC(int argc,char **argv) |
82 { |
82 { |
83 unsigned long thread_id = 0; |
83 unsigned long thread_id = 0; |
84 BOOL tmp; |
84 BOOL tmp; |
85 setlocale(LC_NUMERIC, "C"); |
|
86 |
85 |
87 debug_sem = CreateSemaphore( |
86 debug_sem = CreateSemaphore( |
88 NULL, // default security attributes |
87 NULL, // default security attributes |
89 1, // initial count |
88 1, // initial count |
90 1, // maximum count |
89 1, // maximum count |