Changeset 59e07c91 in mainline for test


Ignore:
Timestamp:
2005-11-10T13:56:26Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0172eba
Parents:
13fe013
Message:

Define atomic_t type.

Location:
test/synch
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • test/synch/rwlock4/test.c

    r13fe013 r59e07c91  
    5050static waitq_t can_start;
    5151
    52 __u32 seed = 0xdeadbeaf;
     52__u32 seed = 0xdeadbeef;
    5353
    5454static __u32 random(__u32 max);
  • test/synch/rwlock5/test.c

    r13fe013 r59e07c91  
    4242
    4343static waitq_t can_start;
    44 static volatile int items_read;
    45 static volatile int items_written;
     44static atomic_t items_read;
     45static atomic_t items_written;
    4646
    4747static void writer(void *arg);
  • test/synch/semaphore1/test.c

    r13fe013 r59e07c91  
    4343
    4444static waitq_t can_start;
    45 static volatile int items_produced;
    46 static volatile int items_consumed;
     45static atomic_t items_produced;
     46static atomic_t items_consumed;
    4747
    4848static void consumer(void *arg);
  • test/synch/semaphore2/test.c

    r13fe013 r59e07c91  
    4545static waitq_t can_start;
    4646
    47 __u32 seed = 0xdeadbeaf;
     47__u32 seed = 0xdeadbeef;
    4848
    4949static __u32 random(__u32 max);
Note: See TracChangeset for help on using the changeset viewer.