Rev 413 | Rev 501 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 413 | Rev 475 | ||
---|---|---|---|
Line 47... | Line 47... | ||
47 | 47 | ||
48 | static spinlock_t lock; |
48 | static spinlock_t lock; |
49 | 49 | ||
50 | static waitq_t can_start; |
50 | static waitq_t can_start; |
51 | 51 | ||
52 | __u32 seed = 0xdeadbeaf; |
52 | __u32 seed = 0xdeadbeef; |
53 | 53 | ||
54 | static __u32 random(__u32 max); |
54 | static __u32 random(__u32 max); |
55 | 55 | ||
56 | static void writer(void *arg); |
56 | static void writer(void *arg); |
57 | static void reader(void *arg); |
57 | static void reader(void *arg); |