Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2049 → Rev 2050

/trunk/kernel/test/synch/rwlock1.c
40,7 → 40,7
 
static rwlock_t rwlock;
 
char * test_rwlock1(void)
char * test_rwlock1(bool quiet)
{
rwlock_initialize(&rwlock);
 
/trunk/kernel/test/synch/rwlock2.c
55,7 → 55,7
printf("Test passed.\n");
}
 
char * test_rwlock2(void)
char * test_rwlock2(bool quiet)
{
thread_t *thrd;
/trunk/kernel/test/synch/rwlock3.c
55,7 → 55,7
printf("cpu%d, tid %d: success\n", CPU->id, THREAD->tid);
}
 
char * test_rwlock3(void)
char * test_rwlock3(bool quiet)
{
int i;
thread_t *thrd;
/trunk/kernel/test/synch/semaphore1.c
69,7 → 69,7
semaphore_up(&sem);
}
 
char * test_semaphore1(void)
char * test_semaphore1(bool quiet)
{
int i, j, k;
int consumers, producers;
/trunk/kernel/test/synch/rwlock4.c
113,7 → 113,7
printf("cpu%d, tid %d r-\n", CPU->id, THREAD->tid);
}
 
char * test_rwlock4(void)
char * test_rwlock4(bool quiet)
{
context_t ctx;
uint32_t i, k;
/trunk/kernel/test/synch/semaphore2.c
81,7 → 81,7
printf("cpu%d, tid %d up\n", CPU->id, THREAD->tid);
}
 
char * test_semaphore2(void)
char * test_semaphore2(bool quiet)
{
uint32_t i, k;
/trunk/kernel/test/synch/rwlock5.c
66,7 → 66,7
rwlock_read_unlock(&rwlock);
}
 
char * test_rwlock5(void)
char * test_rwlock5(bool quiet)
{
int i, j, k;
count_t readers, writers;