public static void main(String[] args) {
        final AttemptLocking al = new AttemptLocking();
        al.untimed();
        al.timed();

        new Thread() {
            {
                setDaemon(true);
            }
            public void run() {
                al.lock.lock();
                System.out.println("Acquired");
            }
        }.start();
        Thread.yield();
        al.untimed();
        al.timed();
    }