public boolean doLockedAction(boolean waitForLock, Supplier<Boolean> action)
			throws UnableToGetLockException {
		return GhidraGoIPC.doLockedAction(senderLockPath, waitForLock, action);
	}
performs the given action once the sender lock has been acquired. Using this method ensures
only one sender will perform the given action.
@param waitForLock whether to block until the lock is available
@param action the action to be performed once a lock is acquired. Returns true if successful.
@return true if action was successfully performed; false otherwise.
@throws UnableToGetLockException if the lock was unobtainable
Ghidra/Features/GhidraGo/src/main/java/ghidra/app/plugin/core/go/GhidraGoSender.java