Skip to content
This repository has been archived by the owner on Mar 3, 2019. It is now read-only.

Commit

Permalink
Bugfix vidéo
Browse files Browse the repository at this point in the history
  • Loading branch information
PFGimenez committed May 23, 2017
1 parent 4c6abcc commit 67fc2c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pc/src/threads/ThreadPrintServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ public void run()
log.debug("Démarrage de " + Thread.currentThread().getName());
try
{
synchronized(buffer)
while(true)
{
while(true)
Thread.sleep(100);
synchronized(buffer)
{
Thread.sleep(100);
buffer.wait(400);
buffer.write();
}
Expand Down

0 comments on commit 67fc2c0

Please sign in to comment.