CVSROOT:        /cvs/kaffe
Module name:    kaffe
Changes by:     hkraemer        03/07/08 00:33:50

Modified files:
        .              : ChangeLog 
        config/alpha/osf: md.c 
        kaffe/kaffevm  : classPool.c exception.c findInJar.c jar.c 
                         locks.c locks.h string.c thread.c utf8const.c 
        kaffe/kaffevm/jit: machine.c machine.h 
        kaffe/kaffevm/jit3: machine.c machine.h 
        kaffe/kaffevm/mem: gc-incremental.c gc-mem.c 
        kaffe/kaffevm/systems/unix-pthreads: thread-impl.c 
        libraries/clib/net: InetAddressImpl.c 

Log message:
2003-07-08 Helmer Kraemer <[EMAIL PROTECTED]>

* kaffe/kaffevm/locks.h, kaffe/kaffevm/locks.c:
(iStaticLock) new struct for static locks
(_lockMutex, _unlockMutex, _waitCond, _signalCond,
_broadcastCond, _slowUnlockMutexIfHeld) prefixed with
locks_internal, added second parameter for preallocated
heavy lock
(getHeavyLock, putHeavyLock) support preallocated heavy locks
(locks_internal_slowUnlockMutexIfHeld) only allocate a heavy
lock if that's really necessary
(locks_internal_lockMutex) use jthread_on_current_stack to
detect recursive invocations
(locks_internal_slowUnlockMutex) add support for stacks that
grow upwards
(specialLocks, acquireLock, releaseLock, UNBLOCK_EXECUTE) removed

Changed type of all static locks from iLock** to iStaticLock.
Updated all calls to the locking functions.


_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to