Skip to content

Instantly share code, notes, and snippets.

Avatar

Marko Zajc markozajc

View GitHub Profile
View MessageLock.java
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
/**
* A concurrent lock that blocks until another thread sends a message.
*
* @author Marko Zajc
*
* @param <M>
View token leak epic
NzE3ODU0MDI4Mjg5MDE1OTAw.XtgXqQ.W-FBcyfZIjLNajjdvU_WZt9LLKk