Class for chopsticks (philo.cpp example). More...
Inheritance diagram for chopstick:
Collaboration diagram for chopstick:Public Member Functions | |
| virtual grip & | get_available () |
| Method that must return the available grip for each agent derived class. | |
Public Member Functions inherited from agent | |
| mc_opt_sz_fn void | release (int dbg_caller=1) |
| Releases this agent so that it can latter be acquired again. | |
Additional Inherited Members | |
Public Attributes inherited from cell | |
| mck_handler_idx_t | handler_idx |
| The index of my handler function in kernel::all_handlers. | |
Class for chopsticks (philo.cpp example).
1.8.11