c++ Programming Glossary: multithreaded
Heap corruption under Win32; how to locate? http://stackoverflow.com/questions/1069/heap-corruption-under-win32-how-to-locate corruption under Win32 how to locate I'm working on a multithreaded C application that is corrupting the heap. The usual tools to..
Is the C++ std::set thread-safe? http://stackoverflow.com/questions/1362110/is-the-c-stdset-thread-safe with your own synchronization mechanisms to use STL in a multithreaded environment For example look here link text Since set is a container..
Problems with Singleton Pattern http://stackoverflow.com/questions/1392315/problems-with-singleton-pattern it can be an issue with regards to memory management. In a multithreaded environment it can cause bottlenecks and introduce synchronization.. to the singleton pattern won't be freed Ofcourse in a multithreaded setup having all the threads being in contention for the singleton.. a huge singleton but this is usually a non concern . In a multithreaded environment it can cause bottlenecks and introduce synchronization..
How is std::string implemented? http://stackoverflow.com/questions/1466073/how-is-stdstring-implemented implementations often have performance problems in multithreaded applications due to synchronization issues. That article is..
When should I write the keyword 'inline' for a function/method? http://stackoverflow.com/questions/1759300/when-should-i-write-the-keyword-inline-for-a-function-method method 'inline' Does it matter if an application is multithreaded when one writes 'inline' for a function method c inline share.. __declspec noinline . Does it matter if an application is multithreaded when one writes 'inline' for a function method Multithreading..
Why is volatile not considered useful in multithreaded C or C++ programming? http://stackoverflow.com/questions/2484980/why-is-volatile-not-considered-useful-in-multithreaded-c-or-c-programming is volatile not considered useful in multithreaded C or C programming As demonstrated in this answer I recently.. condition and thus foo should be declared volatile or for multithreaded situations accessed with memory fenced load which is probably.. improve this question The problem with volatile in a multithreaded context is that it doesn't provide all the guarantees we need...
LRU cache design http://stackoverflow.com/questions/2504178/lru-cache-design a decent hash . Advantage of this being O 1 you can do a multithreaded version by just locking the whole structure. You don't have..
Programatically detect number of physical processors/cores or if hyper-threading is active on Windows, Mac and Linux http://stackoverflow.com/questions/2901694/programatically-detect-number-of-physical-processors-cores-or-if-hyper-threading threading is active on Windows Mac and Linux I have a multithreaded c application that runs on Windows Mac and a few Linux flavours...
STL vector and thread-safety http://stackoverflow.com/questions/4346742/stl-vector-and-thread-safety it safe to use vector as it is not thread safe in such a multithreaded case EDIT Since only insertion takes place when the updater..
When to use volatile with multi threading? http://stackoverflow.com/questions/4557979/when-to-use-volatile-with-multi-threading answer volatile is nearly useless for platform agnostic multithreaded application programming. It does not provide any synchronization..
How to name a thread in Linux? http://stackoverflow.com/questions/778085/how-to-name-a-thread-in-linux to name a thread in Linux I have a multithreaded Linux application written in C C . I have chosen names for my..
Programmatically get the cache line size? http://stackoverflow.com/questions/794632/programmatically-get-the-cache-line-size share this cache. This is very useful if you are doing multithreaded programming with shared data you'll get better results if the..
Compelling examples of custom C++ STL allocators? http://stackoverflow.com/questions/826569/compelling-examples-of-custom-c-stl-allocators STL allocator significantly improve performance of a multithreaded app simply by changing a single std vector T to std vector T..
Example for boost shared_mutex (multiple reads/one write)? http://stackoverflow.com/questions/989795/example-for-boost-shared-mutex-multiple-reads-one-write for boost shared_mutex multiple reads one write I have a multithreaded app that has to read some data often and occasionally that data..
Multithreaded Rendering on OpenGL http://stackoverflow.com/questions/11097170/multithreaded-rendering-on-opengl Rendering on OpenGL I have a multithreaded application in which..
How is std::string implemented? http://stackoverflow.com/questions/1466073/how-is-stdstring-implemented has an appendix Appendix A Optimizations that aren't in a Multithreaded World that discusses why copy on write refcounted implementations..
Multithreaded Memory Allocators for C/C++ http://stackoverflow.com/questions/147298/multithreaded-memory-allocators-for-c-c Memory Allocators for C C I currently have heavily multi threaded..
thread safety of MPI send using threads created with std::async http://stackoverflow.com/questions/14836560/thread-safety-of-mpi-send-using-threads-created-with-stdasync one with and one without support for full multithreading. Multithreaded support is enabled by passing the mt_mpi option to the MPI compiler..
Benchmarks used to test a C and C++ allocator? http://stackoverflow.com/questions/2560114/benchmarks-used-to-test-a-c-and-c-allocator found this paper Hoard A Scalable Memory Allocator for Multithreaded Applications which considers this question. This is a quote..
error LNK2005: xxx already defined in MSVCRT.lib(MSVCR100.dll) http://stackoverflow.com/questions/2728649/error-lnk2005-xxx-already-defined-in-msvcrt-libmsvcr100-dllc-something-libc
Multithreaded image processing in C++ http://stackoverflow.com/questions/326487/multithreaded-image-processing-in-c image processing in C I am working on a program which manipulates..
Multithreaded job queue manager http://stackoverflow.com/questions/565137/multithreaded-job-queue-manager job queue manager I need to manage CPU heavy multitaskable..
Multithreading reference? http://stackoverflow.com/questions/601558/multithreading-reference Concurrency Hazards Solving 11 Likely Problems In Your Multithreaded Code INFO Descriptions and Workings of OLE Threading Models.. threading in .NET Introduction and suggestions Oracle Multithreaded Programming Guide Multithreading Tutorial 64 Bit Programming..
Why VC++ Strings are not reference counted? http://stackoverflow.com/questions/707014/why-vc-strings-are-not-reference-counted
Boost libs building - difference between runtime-link and link options http://stackoverflow.com/questions/7508369/boost-libs-building-difference-between-runtime-link-and-link-options runtime is linked. That is it corresponds to VC's Multithreaded vs. Multithreaded DLL option. Runtime means the components required.. linked. That is it corresponds to VC's Multithreaded vs. Multithreaded DLL option. Runtime means the components required for using..
|