X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2Futil%2FSemaphore.java;h=673919d5ca5cd0f252411aec47efc9808198a764;hb=14be229c827cd4034184ea29d6653f6cbd969507;hp=278e0e696357c4f271e7d7bd4e9e87296a322b52;hpb=78f74e193fcc871be406d5cde191818224b8e249;p=org.ibex.core.git diff --git a/src/org/xwt/util/Semaphore.java b/src/org/xwt/util/Semaphore.java index 278e0e6..673919d 100644 --- a/src/org/xwt/util/Semaphore.java +++ b/src/org/xwt/util/Semaphore.java @@ -1,4 +1,10 @@ -// Copyright 2002 Adam Megacz, see the COPYING file for licensing [GPL] +// Copyright (C) 2003 Adam Megacz all rights reserved. +// +// You may modify, copy, and redistribute this code under the terms of +// the GNU Library Public License version 2.1, with the exception of +// the portion of clause 6a after the semicolon (aka the "obnoxious +// relink clause") + package org.xwt.util; /** Simple implementation of a blocking, counting semaphore. */ @@ -15,8 +21,8 @@ public class Semaphore { wait(); } catch (InterruptedException e) { } catch (Throwable e) { - if (Log.on) Log.log(this, "Exception in Semaphore.block(); this should never happen"); - if (Log.on) Log.log(this, e); + if (Log.on) Log.info(this, "Exception in Semaphore.block(); this should never happen"); + if (Log.on) Log.info(this, e); } } val--;