summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorrpj <rpj>2005-05-17 10:06:42 +0000
committerrpj <rpj>2005-05-17 10:06:42 +0000
commitdbc2c992cccce12b7acdf40f340c031c3a48fcc9 (patch)
tree74185059c23fbe3c4c8deae6b910ee962071bdbc /tests
parent3e31e8034efb37824839100c531a7e4cdeb35037 (diff)
''
Diffstat (limited to 'tests')
-rw-r--r--tests/reuse2.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/tests/reuse2.c b/tests/reuse2.c
index 97d2079..c4db811 100644
--- a/tests/reuse2.c
+++ b/tests/reuse2.c
@@ -84,27 +84,15 @@ enum {
};
-static int dummy = 19;
static long done = 0;
void * func(void * arg)
{
- int i;
- int j;
-
sched_yield();
- for (i = 1; i < 10000; i++)
- {
- if (i * dummy % dummy == 0)
- {
- j = dummy;
- }
- }
-
InterlockedIncrement(&done);
- return (void *) j;
+ return (void *) 0;
}
int