I modified my program and works fine. I did 2 new versions: 1. Methods are non-static, now and I used this.notifyAll()/this.wait() 2. Methods are statics and I created a static object, and used object.notifyAll()/object.wait() inside a synchronized block. Thanks all of you. Carlos Alberto Roman Zamitiz Departamento de Ingenieria en Computacion, Facultad de Ingenieria UNAM [EMAIL PROTECTED]