os161-1.99
 All Data Structures
synchprobs.h
00001 #ifndef _SYNCHPROBS_H_
00002 #define _SYNCHPROBS_H_
00003 
00004 /* student-implemented functions for the cat/mouse problem */
00005 
00006 void cat_before_eating(unsigned int bowl);
00007 void cat_after_eating(unsigned int bowl);
00008 void mouse_before_eating(unsigned int bowl);
00009 void mouse_after_eating(unsigned int bowl);
00010 void catmouse_sync_init(int bowls);
00011 void catmouse_sync_cleanup(int bowls);
00012 
00013 #endif /* _SYNCHPROBS_H_ */
 All Data Structures