package ru.agolovin;

import java.util.LinkedList;

/**
 * @author agolovin (agolovin@list.ru)
 * @version $Id$
 * @since 0.1
 */

public class Producer implements Runnable{
    private LinkedList list;

    @Override
    public void run() {

    }

    public Producer(LinkedList list) {
        this.list = list;
    }



}

@@ -185,24 +185,32 @@
 e LinkedList
+%3CString%3E
  list;%0A%0A    
@@ -243,16 +243,145 @@
 run() %7B%0A
+        int i = 0;%0A        while (true) %7B%0A            synchronized (list) %7B%0A                while (true);%0A            %7D%0A        %7D
 %0A    %7D%0A%0A

add task1 in part4 chapter7 package2