projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs all timothy_tests makefiles are working. threading test is broken.
[yaffs2.git]
/
direct
/
test-framework
/
timothy_tests
/
threading
/
threading.c
diff --git
a/direct/test-framework/timothy_tests/threading/threading.c
b/direct/test-framework/timothy_tests/threading/threading.c
index 96a91f8da16684b765287c456b8d22d95ad9e88c..7ac4e2ec61de12645ecbc14d7d0ef92100e56e85 100644
(file)
--- a/
direct/test-framework/timothy_tests/threading/threading.c
+++ b/
direct/test-framework/timothy_tests/threading/threading.c
@@
-12,7
+12,6
@@
*/
#include "threading.h"
*/
#include "threading.h"
-
int random_seed;
int simulate_power_failure = 0;
int random_seed;
int simulate_power_failure = 0;
@@
-61,7
+60,7
@@
int main(int argc, char *argv[])
for (x=0;x<get_num_of_threads();x++)
{
for (x=0;x<get_num_of_threads();x++)
{
- output
=
pthread_create(&threads[x], NULL,thread_function, (void *)x );
+ output
=
pthread_create(&threads[x], NULL,thread_function, (void *)x );
if (output>0){
printf("failed to create thread %d. Error is %d\n",x,output);
}
if (output>0){
printf("failed to create thread %d. Error is %d\n",x,output);
}