Liste des Groupes | Revenir à l misc |
On 2024-08-18, Dmitry A. Kazakov <mailbox@dmitry-kazakov.de> wrote:The object must be designed in a special way in order to support roll backs etc. Such techniques exclude concurrent access, e.g. memory is never overwritten etc.On 2024-08-18 18:46, Kaz Kylheku wrote:That is false; the object's state can be analyzed and repaired.
>If a mutex is actually used to protect shared data against concurrent>
access, and the owner dies while holding the mutex, the next thread
to try to grab the mutex must be informed so it can try to recover
the shared data into a sane state.
There is no recovery if a protected operation crashes, because the state
of the object is unknown.
Les messages affichés proviennent d'usenet.