Subversion Repositories HelenOS

Rev

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

Rev 2027 Rev 2050
Line 29... Line 29...
29
#include <test.h>
29
#include <test.h>
30
#include <print.h>
30
#include <print.h>
31
#include <atomic.h>
31
#include <atomic.h>
32
#include <debug.h>
32
#include <debug.h>
33
 
33
 
34
char * test_atomic1(void)
34
char * test_atomic1(bool quiet)
35
{
35
{
36
    atomic_t a;
36
    atomic_t a;
37
   
37
   
38
    atomic_set(&a, 10);
38
    atomic_set(&a, 10);
39
    if (atomic_get(&a) != 10)
39
    if (atomic_get(&a) != 10)