Skip to content
Snippets Groups Projects
Commit 45f8ea35 authored by Eckl, Máté's avatar Eckl, Máté
Browse files

Apróság

parent 3b82c9b3
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ public class Fifo{
System.currentTimeMillis() % 10000);
}
synchronized String get() throws InterruptedException
public synchronized String get() throws InterruptedException
{
System.out.println("get: " + Thread.currentThread());
while(s.size()<=0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment