Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming.threads > #3691 > unrolled thread
| Started by | Ramine <toto@toto.net> |
|---|---|
| First post | 2017-03-17 13:06 -0400 |
| Last post | 2017-03-17 13:06 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.programming.threads
Read again, i correct Ramine <toto@toto.net> - 2017-03-17 13:06 -0400
| From | Ramine <toto@toto.net> |
|---|---|
| Date | 2017-03-17 13:06 -0400 |
| Subject | Read again, i correct |
| Message-ID | <oah4t4$qt1$9@dont-email.me> |
ello, I have said that: I have provided you with a C++ threadpool that permits you to code real-time softwares, it is easy to verify the source code of this C++ threadpool and you will notice that it only uses static arrays and it doesn't use dynamic memory and of course it uses pthread. Please look at the Threadpool bounded queue size, it's at 10000, so in real-time systems and in pratice it's easy to avoid blocking task switches on the producer threads which makes it unusable for interrupt handlers. To simplify, use for example one producer thread and don't go beyond the size of the queue to be able to implement real-time softwares under QNX real-time OS or VxWorks real-time OS etc. You can download the C++ threadpool from here: https://sites.google.com/site/aminer68/c-threadpool And you can download my C++ MemPool for real-time systems from here: https://sites.google.com/site/aminer68/c-mempool-for-real-time-systems Thank you, Amine Moulay Ramdane.
Back to top | Article view | comp.programming.threads
csiph-web