Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 14 → Rev 15

/SPARTAN/trunk/test/synch/semaphore1/test.c
99,7 → 99,7
for (j=0; j<(CONSUMERS+PRODUCERS)/2; j++) {
for (k=0; k<i; k++) {
thrd = thread_create(consumer, NULL, the->task, 0);
thrd = thread_create(consumer, NULL, TASK, 0);
if (thrd)
thread_ready(thrd);
else
106,7 → 106,7
failed();
}
for (k=0; k<(4-i); k++) {
thrd = thread_create(producer, NULL, the->task, 0);
thrd = thread_create(producer, NULL, TASK, 0);
if (thrd)
thread_ready(thrd);
else