- Usage of "noexcept" - 3 Updates
- Is what you see what you see ? - 1 Update
- How do you get smarter - 1 Update
- About real-time systems programming - 1 Update
- I have found this threadpool - 3 Updates
- More clarification about the threadpool - 1 Update
- Read again... - 2 Updates
- But i think that i will enhance it and port it - 1 Update
- Sorry, i have verified again and this threadpool is stupid and garbage.. - 1 Update
| Ian Collins <ian-news@hotmail.com>: Mar 17 11:37AM +1300 On 03/17/17 08:32 AM, Bonita Montero wrote: > for Windows, and g++ 4.8.4. With this environment I get a core-dump. > And with Visual C++ 2017 the program also crashes when I run the > release-build; the debug-build shows that abort() is called. Could this be a platform run time bug? When I try your code on Linux or Solaris at any optimisation level I get the correct result: clang++ -std=c++14 -O2 /tmp/x.cc; ./a.out terminate called after throwing an instance of 'int' Aborted (core dumped) -- Ian |
| peter koch <peter.koch.larsen@gmail.com>: Mar 16 03:40PM -0700 Den torsdag den 16. marts 2017 kl. 23.37.13 UTC+1 skrev Ian Collins: > clang++ -std=c++14 -O2 /tmp/x.cc; ./a.out > terminate called after throwing an instance of 'int' > Aborted (core dumped) To me it looks as if you get the same (correct) result as Bonita. /Peter |
| Ian Collins <ian-news@hotmail.com>: Mar 17 12:09PM +1300 On 03/17/17 11:40 AM, peter koch wrote: >> terminate called after throwing an instance of 'int' >> Aborted (core dumped) > To me it looks as if you get the same (correct) result as Bonita. "And with Visual C++ 2017 the program also crashes when I run the release-build; the debug-build shows that abort() is called." suggested otherwise! -- Ian |
| Ramine <toto@toto.net>: Mar 16 07:06PM -0400 Hello... Is what you see what you see ? This question is very important.. Seing is like doing science or like inventing smart algorithms, you have to know the prerequisites to be able to see correctly, and that's the same prerequisites for science, you have for example to do mathematical correlations but that's not sufficient, because is a strong correlation a cause ? no, it can be many variables that causes the cause, so you have to search for the truth, that means you have to search for those variables that are the cause, this is how works perception and this is how works inventing efficient algorithms, and this is how works science, you have to accumulate efficient knowledge to be able to find the truth to be able to see correctly and think correctly, this is how works intelligence also, to get smarter is the same as to setting your perception right, you have to accumulate efficient knowledge to become smarter, this is how i have done it to become smarter. this is as magical, because when you will set your perception right you will notice that it is as magical, it is the same when you get smarter. Thank you, Amine Moulay Ramdane. |
| Ramine <toto@toto.net>: Mar 16 06:48PM -0400 Hello, How do you get smarter... As you know knowledge sets your perception, so you have to be patient to wait for your perception to be set right. To get smarter is the same as to setting your perception, you have to accumulate efficient knowledge to become smarter, this is how i have done it to become smarter. this is as magical, because when you will set your perception right you will notice that it is as magical, it is the same when you get smarter. Thank you, Amine Moulay Ramdane. |
| Ramine <toto@toto.net>: Mar 16 06:22PM -0400 Hello, About real-time systems programming I don't think that real-time systems programming is difficult when you know about parallel programming and synchronization algorithms, when i have invented many synchronization algorithms i have found myself optimizing the cache-coherence traffic and inventing new efficient algorithms and also by avoiding C++ relaxed memory model that is error prone , by using dynamic link libraries of Delphi and FreePascal that don't reorder loads and stores as do it C++, so understand me Sir that this has allowed me to learn more about real-time systems, so now that i am a more capable on parallel programming and synchronization algorithms , i have found that real-time system programming is much much easier for me, other than that i have invented my threadpools that are NUMA-aware and that scales well since they have eliminated the contention on the consumer threads side, also my threadpools supports processor groups on windows etc. so all my inventions has allowed me to be more professional on parallel programming and synchronization algorithms and this has easy for me by much real-time system programming. So stay tuned, because i will port many of my softwares to C++ and to real-time systems such as QNX realtime OS that is very good and to On Time RTOS-32 that is good. Here is what i have ported to C++: My C++ synchronization objects library for Windows and Linux was updated.. And i have thoroughly tested it again and i think that it is more stable and fast now. Be happy with my C++ synchronization objects library ! You can download the new updated version from: https://sites.google.com/site/aminer68/c-synchronization-objects-library And also: My Scalable Parallel C++ Conjugate Gradient Linear System Solver Library was updated... Please download the new updated version from: https://sites.google.com/site/aminer68/scalable-parallel-c-conjugate-gradient-linear-system-solver-library Thank you, Amine Moulay Ramdane. |
| Ramine <toto@toto.net>: Mar 16 04:39PM -0400 Hello, I have found this threadpool, and i have verified it quickly and i think that it works with QNX real-time OS, and you can program with it real-time softwares under QNX. This is why i think that this guys is smart, look at it here: https://github.com/ryanlayer/sandbox/tree/master/C/cthreadpool Thank you, Amine Moulay Ramdane, |
| Ramine <toto@toto.net>: Mar 16 04:51PM -0400 On 3/16/2017 4:39 PM, Ramine wrote: > https://github.com/ryanlayer/sandbox/tree/master/C/cthreadpool > Thank you, > Amine Moulay Ramdane, He doesn't use dynamic memory, he has used static arrays, and he has used pthread , this is why you can program with it real-time softwares under QNX real-time OS, i think that this guy has avoided dynamic array because he has needed his threadpool to be able to do with it real-time softwares. This is why i think that this guy is smart, look at it here: https://github.com/ryanlayer/sandbox/tree/master/C/cthreadpool Thank you, Amine Moulay Ramdane. |
| "Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Mar 16 03:12PM -0700 On Thursday, March 16, 2017 at 4:40:01 PM UTC-4, Ramine wrote: > i think that it works with QNX real-time OS, and you can > program with it real-time softwares under QNX. > This is why i think that this guys is smart... The above was posted at 4:40pm local time. Then you post the following at 5:12pm, 32 minutes later, Ramine: > Sorry, i have verified again and this threadpool is stupid and > garbage.. > This guy is not smart... He goes from "smart" and a threadpool resource you're going to use on your critical real-time system, to "not smart" with his "stupid and garbage" threadpool resource ... in 32 minutes! ----- Can I suggest that you take what you learned with your degrees at university and apply them philosophically toward this end: Write your articles on your local machine, and then WAIT ONE DAY before finally posting your thoughts on them. Unless there's an airstrike involved, none of us are going to be harmed by you waiting an extra day before posting your FINAL thoughts on something. And, as Chris M. Thomasson points out ... please do so on one thread. Thank you, Rick C. Hodgin |
| Ramine <toto@toto.net>: Mar 16 05:46PM -0400 Hello, I have said before that this threadpool is stupid and garbage: https://github.com/ryanlayer/sandbox/tree/master/C/cthreadpool Because he has to support both LIFO stacks and FIFO queues, because LIFO Stacks are cache friendly, other than that he has not eliminated the contention on the consumer threads side, other than that he has not port his threadpool to real-time systems such as QNX real-time system, and his threadpool doesn't support processor groups on windows, and his threadpool is not NUMA-aware, so i think i will not use his threadpool, because his threadpools is stupid and garbage, so i think i will port my threadpools that i have written in FreePascal and Delphi to C++ and to real-time systems. Hee is my threadpools, so read about them: An efficient Threadpool engine with priorities that scales well https://sites.google.com/site/aminer68/an-efficient-threadpool-engine-that-scales-well and this one: https://sites.google.com/site/aminer68/threadpool Thank you, Amine Moulay Ramdane. |
| Ramine <toto@toto.net>: Mar 16 04:56PM -0400 Hello, He doesn't use dynamic memory, he has used static arrays, and he has used pthread , this is why you can program with it real-time softwares under QNX real-time OS, i think that this guy has avoided dynamic memory because he has needed his threadpool to be able to do with it real-time softwares. This is why i think that this guy is smart, look at his threadpool here: https://github.com/ryanlayer/sandbox/tree/master/C/cthreadpool Thank you, Amine Moulay Ramdane. |
| "Chris M. Thomasson" <invalid@invalid.invalid>: Mar 16 02:36PM -0700 On 3/16/2017 1:56 PM, Ramine wrote: > needed his threadpool to be able to do with it real-time softwares. > This is why i think that this guy is smart, look at his threadpool here: > https://github.com/ryanlayer/sandbox/tree/master/C/cthreadpool Try to focus, focus perhaps, just a little wrt creating a single thread, with headlines within the posts as proxy subjects headings. Something along the lines of: ___________________________________ ---------------------- >>> [post 1: threads...[1]] >>> xxx1 ___________________________________ ;^) |
| Ramine <toto@toto.net>: Mar 16 05:26PM -0400 Hello, I have said before that this threadpool is stupid and garbage: https://github.com/ryanlayer/sandbox/tree/master/C/cthreadpool But i think that i will enhance it and also i will port it to real-time OSs such as QNX real-time OS, so stay tuned i will immediatly start to enhance it and to port it to real-time OSs, i will support both C and C++ , so i will also rewrote it in C++. Thank you, Amine Moulay Ramdane. |
| Ramine <toto@toto.net>: Mar 16 05:12PM -0400 Hello, Sorry, i have verified again and this threadpool is stupid and garbage.. https://github.com/ryanlayer/sandbox/tree/master/C/cthreadpool This guy is not smart because he hasn't port his threadpool to real-time systems , because he is still using dynamic memory, so you can not use it under QNX real-time OS , other than that he has not eliminated the contention on the consumer threads. So his threadpool is stupid and garbage. Thank you, Amine Moulay Ramdane. |
| You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com. |
No comments:
Post a Comment