Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #3690 > unrolled thread

More clarifications...

Started byRamine <toto@toto.net>
First post2017-03-17 12:49 -0400
Last post2017-03-17 12:49 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.programming.threads


Contents

  More clarifications... Ramine <toto@toto.net> - 2017-03-17 12:49 -0400

#3690 — More clarifications...

FromRamine <toto@toto.net>
Date2017-03-17 12:49 -0400
SubjectMore clarifications...
Message-ID<oah3t5$qt1$3@dont-email.me>
Hello,

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 a 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.

[toc] | [standalone]


Back to top | Article view | comp.programming.threads


csiph-web