I was working with TBB memory allocators and I came across two problemswhich might possibly be bugs.
I would like to introduce a contribution to TBB, available via the TBB Community Project as TBB Contributed Code. The code may be downloaded via svn checkout, find instructions here: http://code.google.com/p/tbbcommunity/source/checkout
Can I use TBB with VC++ 2008 Express?
I've downloaded the Commersial Alligned Version of TBB. My application compiles and links. Upon start it asks formsvcp80.dlland msvcp90.dll soI've supplied those in my Release library. But thenI get an R6034 runtime error which seems to be some kind of manifest problem.
The generated manifest contains this reference
I was looking into the memory allocators provided by TBB and I find that for
allocating a memory greater than 8K size, TBB uses malloc to allocate memory rather than
virtual alloc.I also find a preprocessor being defined by which i can change the allocation to be done by virtualalloc.But I find that the performance is way better by using malloc rather than virtualalloc.
Just wanted to share this with everyone. I've been doing some Qt programming for work, and stumbled upon Qt Concurrent.
Check it out here: http://doc.trolltech.com/main-snapshot/threads.html#qtconcurrent
and here http://labs.trolltech.com/page/Projects/Threads/QtConcurrent.
I have been looking closely at TBB internals, and implementing some of my own high-level algorithm templates (more on that later).
There is something I don't understand... what was your motivation for the user to define operator()(Range&) as a const operation? I understand that internally the body is held as a const, I would like to know the motivation.
I have a process that I think would work with parallel_while pretty good, but It's not behaving how I'd expect.
First the process: I have a server that sits and listens to requests, for the sake of this example, lets say the requests come in on a named pipe (I've also used sockets for this, it all depends on what the customer wants - some secure places won't allow ANY sockets open even for communication on the same machine). When a reqest come in, the server then does some complicated computation and returns the answer to the client.
In Konqueror no other buttons beside the "Choose file" button and the "Submit" and "Cancel" button appears. After choosing the file I get the error message: "Please upload a file".