Searched refs:promptToken (Results 1 – 1 of 1) sorted by relevance
36 private Semaphore promptToken; field in PromptHelper49 promptToken = new Semaphore(1); in PromptHelper()94 promptToken.acquire(); in requestPrompt()110 promptToken.release(); in requestPrompt()150 if (!promptToken.tryAcquire()) { in cancelPrompt()156 promptToken.release(); in cancelPrompt()