summaryrefslogtreecommitdiff
path: root/tests/threads/test_counter_mutex.c
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2010-06-03 22:03:27 +0200
committerAndreas Baumann <abaumann@yahoo.com>2010-06-03 22:03:27 +0200
commit58f1c192c2aa58d959ecb69197b2650b27f2eb7d (patch)
tree99f7cad6c22626498a443fd0187e7bbf9e9b9ce0 /tests/threads/test_counter_mutex.c
parentd1825f38cf363be594af0e566ab91eb75e4c0376 (diff)
downloadwolfbones-58f1c192c2aa58d959ecb69197b2650b27f2eb7d.tar.gz
wolfbones-58f1c192c2aa58d959ecb69197b2650b27f2eb7d.tar.bz2
can pass thread data now (Linux), adapted tests
Diffstat (limited to 'tests/threads/test_counter_mutex.c')
-rw-r--r--tests/threads/test_counter_mutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/threads/test_counter_mutex.c b/tests/threads/test_counter_mutex.c
index af28f6f..b827d15 100644
--- a/tests/threads/test_counter_mutex.c
+++ b/tests/threads/test_counter_mutex.c
@@ -72,7 +72,7 @@ int main( void ) {
for( j = 0; j < NOF_LOOPS; j++ ) {
for( i = 0; i < NOF_THREADS; i++ ) {
- error = wolf_thread_create( &thread[i], thread_func );
+ error = wolf_thread_create( &thread[i], thread_func, NULL );
if( error != WOLF_OK ) {
fprintf( stderr, "Unable to start thread %d: %d\n", i, error );
return EXIT_FAILURE;