1 ***********************************************
13 post = atomic_get (lock->post_count);
17 if (atomic_get (lock->pre_count) != post) {
18 /* wait for writer to finish then retry */
28 atomic_inc (lock->pre_count);
32 atomic_inc (lock->post_count);