tag:blogger.com,1999:blog-1077468864044303325.post2974348402609114556..comments2024-03-20T18:47:57.268+02:00Comments on Behind the connection: Multithreading and PostMessage performanceFPiettehttp://www.blogger.com/profile/08260455911271500004noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-1077468864044303325.post-55845429272093212692017-01-23T22:34:07.966+02:002017-01-23T22:34:07.966+02:00A good starting point is Delphi documentation: htt...A good starting point is Delphi documentation: http://docwiki.embarcadero.com/RADStudio/Berlin/en/Using_the_Windows_API_Messaging_Solution<br />FPiettehttps://www.blogger.com/profile/08260455911271500004noreply@blogger.comtag:blogger.com,1999:blog-1077468864044303325.post-36764235287838690952017-01-23T20:34:19.740+02:002017-01-23T20:34:19.740+02:00Thank you very much. Absolutely useful direction e...Thank you very much. Absolutely useful direction especially for me as a newbie self-taught (neither in delhphi nor in multi threading). On my old machine core i3-3240 CPU 3.40GHZ they took the following:<br />Posting 5000 messages took 0.69 microsecond per message<br />Retrieving 5000 messages took 0.81 microsecond per message <br /><br />anyway, a noob question, how do i implement this to LingLoenghttps://www.blogger.com/profile/09061713982137863220noreply@blogger.comtag:blogger.com,1999:blog-1077468864044303325.post-29425914605932576022013-03-18T08:15:25.427+02:002013-03-18T08:15:25.427+02:00GDI message loop is fast.
But IMHO its great ben...GDI message loop is fast. <br /><br />But IMHO its great benefit is not with inter-thread communication, but with inter-process communication. In this case, you do not have the same memory mapping, so you should use the special WM_COPYDATA message to send some memory buffer (e.g. text or binary) between processes.<br /><br />And it is very fast. For instance, in our Client-Server framework, Arnaudhttps://www.blogger.com/profile/00421394020248758254noreply@blogger.com