File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
conformance/interfaces/pthread_mutex_init Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 80
80
/********************************************************************************************/
81
81
/********************************** Configuration ******************************************/
82
82
/********************************************************************************************/
83
+ #ifndef __EMSCRIPTEN__
83
84
#define WITH_SYNCHRO
85
+ #endif
86
+
84
87
#ifndef VERBOSE
85
88
#define VERBOSE 2
86
89
#endif
87
90
88
91
/********************************************************************************************/
89
92
/*********************************** Test case *****************************************/
90
93
/********************************************************************************************/
91
- char do_it = 1 ;
94
+ volatile char do_it = 1 ;
92
95
unsigned long count_ope = 0 ;
93
96
pthread_mutex_t count_protect = PTHREAD_MUTEX_INITIALIZER ;
94
97
#ifdef WITH_SYNCHRO
You can’t perform that action at this time.
0 commit comments