Menu

Commit [r134]  Maximize  Restore  History

More optimizations:

-Moved TransactionQueue to the BlockingObject class instead of children
-Added LockAndQueue to perform atomic lock-and-queue operation, which takes care of any remaining corner-case conerns

Improvements:
-Added kernel-panic codes for "impossible" locking scenarios
-Atomic lock-and-queue eliminates race conditions in kernel-object operations
-Refactored semaphore test to terminate more gracefully, re-enabled previously disabled tests
-Better docs for recently-added code

funkenstein.sw@gmail.com 2013-12-04

changed /trunk/embedded/kernel/blocking.cpp
changed /trunk/embedded/kernel/eventflag.cpp
changed /trunk/embedded/kernel/ksemaphore.cpp
changed /trunk/embedded/kernel/mutex.cpp
changed /trunk/embedded/kernel/public/blocking.h
changed /trunk/embedded/kernel/public/eventflag.h
changed /trunk/embedded/kernel/public/ksemaphore.h
changed /trunk/embedded/kernel/public/mutex.h
changed /trunk/embedded/kernel/public/panic_codes.h
changed /trunk/embedded/kernel/public/transaction.h
changed /trunk/embedded/tests/unit/ut_semaphore/ut_semaphore.cpp
/trunk/embedded/kernel/blocking.cpp Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/eventflag.cpp Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/ksemaphore.cpp Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/mutex.cpp Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/public/blocking.h Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/public/eventflag.h Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/public/ksemaphore.h Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/public/mutex.h Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/public/panic_codes.h Diff Switch to side-by-side view
Loading...
/trunk/embedded/kernel/public/transaction.h Diff Switch to side-by-side view
Loading...
/trunk/embedded/tests/unit/ut_semaphore/ut_semaphore.cpp Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.