diff src/alice/test/dpp/codesegment/EatCodeSegment.java @ 6:b59c04a332a1

add PutForkCodeSegment
author one
date Sun, 25 Nov 2012 17:22:45 +0900
parents 2db314b1a970
children bfaaebb50a2e
line wrap: on
line diff
--- a/src/alice/test/dpp/codesegment/EatCodeSegment.java	Sun Nov 25 17:08:21 2012 +0900
+++ b/src/alice/test/dpp/codesegment/EatCodeSegment.java	Sun Nov 25 17:22:45 2012 +0900
@@ -12,7 +12,8 @@
 	
 	@Override
 	public void run() {
-		
+		System.out.println(phil.getName() + " is eating.");		
+		new PutForkCodeSegment(phil);
 	}
 	
 }