qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Stitcher" <astitc...@apache.org>
Subject Re: Review Request: Keep better track of threads avoiding deadlocks at process rundown
Date Thu, 16 Jun 2011 14:34:28 GMT


> On 2011-06-16 12:56:46, Alan Conway wrote:
> > /trunk/qpid/cpp/src/qpid/sys/windows/Thread.cpp, line 85
> > <https://reviews.apache.org/r/904/diff/1/?file=21139#file21139line85>
> >
> >     Why the pointer? Just declare 
> >     
> >     std::map<unsigned, ThreadPrivate::shared_ptr> pQpidThreads;
> >     
> >     and let std::map take care of the memory management.

I'd also add that we don't use the hungarian variable notation either so the 'p' should be
stripped (possibly from other places too)


- Andrew


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


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