Create CoopSyncRunnable.java

Code for cooperative thread processing