File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 63
63
* GLOBAL VARIABLES
64
64
*********************************************************************************************************
65
65
*/
66
- int nNumThreadsCreated = 0 ;
67
- int nNumThreadsStarted = 0 ;
66
+ static int nNumThreadsCreated = 0 ;
67
+ static int nNumThreadsStarted = 0 ;
68
68
69
69
/* Condition variable to indicate whether all threads are waiting for their condition variables. i.e.
70
70
the system is ready to run. */
71
- pthread_cond_t cvThreadWrapper ;
71
+ static pthread_cond_t cvThreadWrapper ;
72
72
73
73
/* Condition variables for all threads. Index for thread is stored in its stack. */
74
- pthread_cond_t grcvThread [ OS_LOWEST_PRIO ];
74
+ static pthread_cond_t grcvThread [ OS_LOWEST_PRIO ];
75
75
76
76
/* Array of threads */
77
- pthread_t threadTask [ OS_LOWEST_PRIO ];
77
+ static pthread_t threadTask [ OS_LOWEST_PRIO ];
78
78
79
79
/* Context switching control mutex */
80
- pthread_mutex_t mutThread ;
80
+ static pthread_mutex_t mutThread ;
81
81
82
82
83
83
/*
You can’t perform that action at this time.
0 commit comments