ysjerry / google-concurrency-library

Automatically exported from code.google.com/p/google-concurrency-library
0 stars 0 forks source link

Code review request #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please verify the change at:

http://code.google.com/p/google-concurrency-library/source/diff?spec=svnaa4a5e36
04d0e19066bba856e0a09fcdb374e2c6&r=aa4a5e3604d0e19066bba856e0a09fcdb374e2c6&form
at=side&path=/include/cxx0x.h

Original issue reported on code.google.com by alasdair.mackintosh on 21 Mar 2011 at 12:36

GoogleCodeExporter commented 9 years ago
Hey Alasdair.

My changes to make it compile using gcc 4.7 was identical to your (except for a 
version test)

I'm currently using Debian Squeeze and after upgrading to revision 131, the 
pipeline_test hangs infinitely. I haven't tracked down why - I spent a fraction 
of my spare time on generalizing the usage of gcl to GPUs using OpenCL (using 
the C API of course)

Original comment by Jens.Mun...@gmail.com on 28 Sep 2013 at 3:34

GoogleCodeExporter commented 9 years ago
Hi Jens,

The pipeline code needs to be re-architected at some point. It doesn't handle 
threading very efficiently (it typically spins up more threads than are 
necessary) so we haven't put a lot of work into making the current code 
perfect. Our focus was more on the API.

That said, it wou,d be good to work out what's going on. Do you have any kind 
of thread dump from when it hangs? 

Original comment by alasdair.mackintosh on 29 Sep 2013 at 6:13