summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-03-14 00:19:22 +0100
committerHaru <haru@dotalux.com>2016-07-12 20:58:42 +0200
commitc4a3a3f59e5720b300077c3d34aa7f4ecdd76400 (patch)
tree0321ed1375fd67c1789f744e3500df79cdb40833 /src/test
parentb9578c1d8ce54b48363e297b1c56cdea0ed72821 (diff)
downloadhercules-c4a3a3f59e5720b300077c3d34aa7f4ecdd76400.tar.gz
hercules-c4a3a3f59e5720b300077c3d34aa7f4ecdd76400.tar.bz2
hercules-c4a3a3f59e5720b300077c3d34aa7f4ecdd76400.tar.xz
hercules-c4a3a3f59e5720b300077c3d34aa7f4ecdd76400.zip
Various changes to the thread interface
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_spinlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_spinlock.c b/src/test/test_spinlock.c
index 5ea3ee94d..34102a845 100644
--- a/src/test/test_spinlock.c
+++ b/src/test/test_spinlock.c
@@ -79,7 +79,7 @@ int do_init(int argc, char **argv)
InitializeSpinLock(&lock);
for(i =0; i < THRC; i++){
- t[i] = thread->createEx(worker, NULL, 1024*512, THREADPRIO_NORMAL);
+ t[i] = thread->create_opt(worker, NULL, 1024*512, THREADPRIO_NORMAL);
}
while(1){