Wait/Notify enhancements
Release 1.1.0
-
finish()
method will be call every timerun()
is returned, this allow special cases like eventual threads to self-destroy itself, otherwise the object would be only a memory leak.... see examples onmain.cpp
-
SmartLock
RAII compliance, allow lock or shared lock to be auto release on object destruction. -
IMPORTANT Now Notifications (Wait/Notify) can be timedout. if Tick based time is given, the waiting procedure will only stay blocked during it. (NO SPIN LOCK, REAL STATE BLOCK)
-
IMPORTANT
LookForWaitings
block for timeout time will a wait for specific refVar/tag is available, otherwise timeout, can be used sync wait and notify availability -
IMPORTANT Now
Wait/Notify
Tags
, used to give meaning/channel to a notification can be se to "all tags" ifTag
is zero, otherwise it will respect refVar/Tag