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


Groups > comp.programming.threads > #3690

More clarifications...

From Ramine <toto@toto.net>
Newsgroups comp.programming.threads
Subject More clarifications...
Date 2017-03-17 12:49 -0400
Organization A noiseless patient Spider
Message-ID <oah3t5$qt1$3@dont-email.me> (permalink)

Show all headers | View raw


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.

Back to comp.programming.threads | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web