projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for 64 bit time to yaffs direct.
[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..89862722210f069c12e6a97198695080e7e9b495 100644
(file)
--- a/
direct/test-framework/timothy_tests/threading/threading.c
+++ b/
direct/test-framework/timothy_tests/threading/threading.c
@@
-1,8
+1,7
@@
/*
* YAFFS: Yet another FFS. A NAND-flash specific file system.
*
/*
* YAFFS: Yet another FFS. A NAND-flash specific file system.
*
- * Copyright (C) 2002-2011 Aleph One Ltd.
- * for Toby Churchill Ltd and Brightstar Engineering
+ * Copyright (C) 2002-2018 Aleph One Ltd.
*
* Created by Timothy Manning <timothy@yaffs.net>
*
*
* Created by Timothy Manning <timothy@yaffs.net>
*
@@
-12,7
+11,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
+59,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);
}