Wait/Notify enhancements #3
solariun
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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 availabilityIMPORTANT 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/TagThis discussion was created from the release Wait/Notify enhancements .
Beta Was this translation helpful? Give feedback.
All reactions