Subversion Repositories HelenOS

Rev

Rev 2042 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2042 Rev 2050
Line 67... Line 67...
67
    atomic_inc(&items_consumed);
67
    atomic_inc(&items_consumed);
68
    thread_usleep(500);
68
    thread_usleep(500);
69
    semaphore_up(&sem);
69
    semaphore_up(&sem);
70
}
70
}
71
 
71
 
72
char * test_semaphore1(void)
72
char * test_semaphore1(bool quiet)
73
{
73
{
74
    int i, j, k;
74
    int i, j, k;
75
    int consumers, producers;
75
    int consumers, producers;
76
   
76
   
77
    waitq_initialize(&can_start);
77
    waitq_initialize(&can_start);