Subversion Repositories HelenOS

Rev

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

Rev 3022 Rev 4296
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(bool quiet)
34
char *test_atomic1(void)
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)