Subversion Repositories HelenOS

Rev

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

Rev 2028 Rev 2050
Line 38... Line 38...
38
#define READERS     50
38
#define READERS     50
39
#define WRITERS     50
39
#define WRITERS     50
40
 
40
 
41
static rwlock_t rwlock;
41
static rwlock_t rwlock;
42
 
42
 
43
char * test_rwlock1(void)
43
char * test_rwlock1(bool quiet)
44
{
44
{
45
    rwlock_initialize(&rwlock);
45
    rwlock_initialize(&rwlock);
46
 
46
 
47
    rwlock_write_lock(&rwlock);
47
    rwlock_write_lock(&rwlock);
48
    rwlock_write_unlock(&rwlock);  
48
    rwlock_write_unlock(&rwlock);