comparison Framework/Messages/IObservable.cpp @ 973:38409549db43 toa2019082903

Log with addresses + added fingerprint mechanism to avoid calling zombie objects where: - a message is sent with a receiver - the receiver dies - another receiver with the SAME address is created - the message reply is executed --> execution on the wrong object! (since their "identity" is their address. The fix is to identify them with an UUID stored at creation time)
author Benjamin Golinvaux <bgo@osimis.io>
date Thu, 29 Aug 2019 18:07:55 +0200
parents f0008c55e5f7
children 262a0244e9b2
comparison
equal deleted inserted replaced
972:fdf8b013f228 973:38409549db43
19 **/ 19 **/
20 20
21 21
22 #include "IObservable.h" 22 #include "IObservable.h"
23 23
24 #include <Core/Logging.h>
24 #include <Core/OrthancException.h> 25 #include <Core/OrthancException.h>
25 26
26 #include <cassert> 27 #include <cassert>
27 28
28 namespace OrthancStone 29 namespace OrthancStone