qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Conway" <acon...@redhat.com>
Subject Re: Review Request: Keep better track of threads avoiding deadlocks at process rundown
Date Thu, 16 Jun 2011 12:56:46 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/904/#review849
-----------------------------------------------------------



/trunk/qpid/cpp/src/qpid/sys/windows/Thread.cpp
<https://reviews.apache.org/r/904/#comment1841>

    On linux this should be a PODMutex to ensure it is statically initialized before any possible
use. Don't know if that's the case on Windows.



/trunk/qpid/cpp/src/qpid/sys/windows/Thread.cpp
<https://reviews.apache.org/r/904/#comment1842>

    Why the pointer? Just declare 
    
    std::map<unsigned, ThreadPrivate::shared_ptr> pQpidThreads;
    
    and let std::map take care of the memory management. 


- Alan


On 2011-06-15 01:08:18, Steve Huston wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/904/
> -----------------------------------------------------------
> 
> (Updated 2011-06-15 01:08:18)
> 
> 
> Review request for qpid.
> 
> 
> Summary
> -------
> 
> Keeps track of Qpid runnable threads and other threads, ensuring that rundown doesn't
deadlock.
> 
> 
> This addresses bug QPID-3256.
>     https://issues.apache.org/jira/browse/QPID-3256
> 
> 
> Diffs
> -----
> 
>   /trunk/qpid/cpp/src/qpid/sys/windows/Thread.cpp 1132733 
> 
> Diff: https://reviews.apache.org/r/904/diff
> 
> 
> Testing
> -------
> 
> Qpid regression test suite.
> 
> 
> Thanks,
> 
> Steve
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message