5.3 class shm_log



next up previous
Next: 5.4 class log Up: 5 Implementation Previous: 5.2 class logrecord

5.3 class shm_log

 

The shared memory structure class shm_log has a constructor that will be called by the OS infrastructure code for the first Minirel process. This constructor must initialize the shared memory structure. In our case, it has to set the number of transactions field to zero. It must also call the constructor for the semaphore member sl_sem.

The class has no other methods because manipulation of the members is done by class log.



ajitk@cs.wisc.edu, cjin@cs.wisc.edu