Skip to content
Snippets Groups Projects
Commit 4c7543a1 authored by Tony Farrell's avatar Tony Farrell
Browse files

Add scope guard classes. Add Logger::RegisterThreadNoDramaCtx, UFACE...

Add scope guard classes. Add Logger::RegisterThreadNoDramaCtx, UFACE constructor will complain if in DRAMA message loop

   TUFace constructor will now throw if you are creating this within
     the thread running the DRAMA main loop - catches a partricular
     class of issues. Ticket ASI-162.

    Add drama::ScopeGuard class - a simple scope guard class which
    sets a value to a particular value when constructed and then resets
    it on exit.  Also add the variation ScopeGuardAtomic for gaurding
    access to atomic types (a thread safe version)

    Added Logger::RegisterThreadNoDramaCtx(). When invoked for a thread
    which is really not a DRAMA thread, that thread can use the DRAMA logger
    in a well defined way.  Does introduce a memory leak for each of these
    threads, but only that it is not tidied up when DRAMA exits.

    ACMM Version 1.112
parent d4148972
No related branches found
Tags 1.112
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment