{"id":304919,"date":"2020-06-05T21:00:26","date_gmt":"2020-06-05T21:00:26","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=304919"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2020-06-05T21:00:26","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=304919","title":{"rendered":"\u041f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0444\u0430\u0439\u043b\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e pipes \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043c\u0435\u043b\u043e\u0447\u0438 \u043d\u0430 Delphi"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/505568\/\">\u041f\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u043a\u0430\u043a-\u0442\u043e \u043f\u0435\u0440\u0435\u0434\u043e \u043c\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0443 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c <a href=\"https:\/\/github.com\/L00pZBreak3r\/BlitzTest\" rel=\"nofollow\">\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044e\u043d\u0438\u0442\u043e\u0432 \u043d\u0430 Delphi<\/a>, \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u044e\u0449\u0438\u0445 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c Windows:<\/p>\n<ol>\n<li><a href=\"https:\/\/docs.microsoft.com\/ru-ru\/windows\/win32\/memory\/sharing-files-and-memory\" rel=\"nofollow\">Shared memory<\/a>.<\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/ru-ru\/windows\/win32\/ipc\/using-pipes\" rel=\"nofollow\">Pipes<\/a>.<\/li>\n<\/ol>\n<p><a name=\"habracut\"><\/a><br \/>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0431\u044b\u043b\u043e \u043d\u0435\u043b\u044c\u0437\u044f. <a href=\"https:\/\/docs.microsoft.com\/ru-ru\/windows\/win32\/memory\/sharing-files-and-memory\" rel=\"nofollow\"><i>Shared memory<\/i><\/a> \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u043b\u043e\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432 \u2013 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u0435\u0441\u044f\u0442\u043a\u043e\u0432 \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u0441\u043e\u0442\u0435\u043d \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 <i>TStringList<\/i> \u043f\u0430\u0434\u0430\u043b \u0441 <i>EOutOfMemory<\/i>. <a href=\"https:\/\/docs.microsoft.com\/ru-ru\/windows\/win32\/ipc\/using-pipes\" rel=\"nofollow\"><i>Pipes<\/i><\/a> \u2013 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u043e\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u0440\u0443\u0433\u043e\u043c\u0443.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0438\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 Microsoft \u0441 C \u043d\u0430 Delphi \u2013 \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0434\u0430\u0436\u0435 \u043d\u0435 \u043f\u043e\u043b\u0434\u0435\u043b\u0430, \u0430 \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u043e\u0432 10. \u0413\u043b\u0430\u0432\u043d\u043e\u0435 \u0431\u044b\u043b\u043e \u0441\u0432\u044f\u0437\u0430\u0442\u044c \u044d\u0442\u043e \u0432\u0441\u0435 \u0432\u043c\u0435\u0441\u0442\u0435, \u0434\u043e\u043f\u0438\u0441\u0430\u0442\u044c, \u0433\u0434\u0435 \u043d\u0443\u0436\u043d\u043e, \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438 \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0441\u0451 \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u0430 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u0432\u0438\u0434\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0440\u043e\u0434\u0438\u043b\u0441\u044f \u0442\u0430\u043a\u043e\u0439 \u0443\u0440\u043e\u0434\u043b\u0438\u0432\u044b\u0439 \u043c\u043e\u043d\u0441\u0442\u0440, \u0447\u0442\u043e \u0435\u0433\u043e \u043d\u0435 \u0442\u043e, \u0447\u0442\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0443-\u0442\u043e, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043d\u0435\u0433\u043e \u0431\u044b\u043b\u043e \u0441\u0442\u0440\u0430\u0448\u043d\u043e. \u041e\u0434\u043d\u0430\u043a\u043e, \u043c\u043e\u0436\u0435\u0442, \u043a\u0442\u043e-\u0442\u043e \u043d\u0430\u0439\u0434\u0435\u0442 \u0432 \u0435\u0433\u043e \u043d\u0435\u0434\u0440\u0430\u0445 \u0447\u0442\u043e-\u0442\u043e \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0435 (\u0430 \u0432\u0434\u0440\u0443\u0433?), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0440\u0435\u0448\u0438\u043b \u0435\u0433\u043e \u0437\u0434\u0435\u0441\u044c \u0432\u044b\u043b\u043e\u0436\u0438\u0442\u044c. \u041d\u0430 \u0432\u0441\u0435\u043e\u0431\u0449\u0435\u0435 \u043f\u043e\u0440\u0443\u0433\u0430\u043d\u0438\u0435. \u041f\u043e\u043b\u043d\u044b\u0439 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u044d\u0442\u043e\u0439 <i>abomination<\/i> \u0432\u044b\u043b\u043e\u0436\u0435\u043d \u043d\u0430 <a href=\"https:\/\/github.com\/L00pZBreak3r\/BlitzTest\" rel=\"nofollow\"><i><b>GitHub<\/b><\/i><\/a>. \u0412 \u0442\u0435\u043a\u0441\u0442\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u0431\u0443\u0434\u0443\u0442 \u0434\u0430\u043d\u044b <i>\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432<\/i>, \u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0442\u043e\u0442 \u0438\u043b\u0438 \u0438\u043d\u043e\u0439 \u043a\u0443\u0441\u043e\u043a \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438.<\/p>\n<p>  \u041f\u0435\u0440\u0432\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u2013 <i>\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0430 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430<\/i> \u2013 \u0440\u0435\u0448\u0430\u043b\u0430\u0441\u044c \u0442\u0430\u043a:<\/p>\n<ol>\n<li>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b (<a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/fileapi\/nf-fileapi-createfilew\" rel=\"nofollow\"><i>CreateFile<\/i><\/a>).<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/winbase\/nf-winbase-createfilemappinga\" rel=\"nofollow\"><i>CreateFileMapping<\/i><\/a> \u0438 <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/memoryapi\/nf-memoryapi-mapviewoffile\" rel=\"nofollow\"><i>MapViewOfFile<\/i><\/a> (common\\MemoryMappedFileUnit.pas).<\/li>\n<li>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0443 \u0444\u0430\u0439\u043b\u0430. \u0417\u0434\u0435\u0441\u044c \u044f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u043b\u0441\u044f, \u043f\u043e \u0441\u0443\u0442\u0438, \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u0432\u0443\u043c\u044f \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0430\u043c\u0438: <i>UTF-16<\/i> \u0438 <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/winnls\/nf-winnls-getacp\" rel=\"nofollow\"><i>ACP<\/i><\/a> \u2013 \u043e\u0434\u043d\u043e\u0431\u0430\u0439\u0442\u043e\u0432\u0430\u044f \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0430 \u0441 \u043a\u043e\u0434\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435\u0439 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. \u0412 \u0440\u0443\u0441\u0441\u043a\u043e\u044f\u0437\u044b\u0447\u043d\u043e\u0439 Windows \u043e\u0431\u044b\u0447\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f <i>Windows-1251<\/i>.<\/li>\n<li>\u0420\u0430\u0437\u0431\u0438\u0432\u0430\u0435\u043c \u0442\u0435\u043a\u0441\u0442 \u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0438. \u0422\u043e \u0435\u0441\u0442\u044c \u0438\u0449\u0435\u043c \u043c\u0430\u0440\u043a\u0435\u0440\u044b \u043a\u043e\u043d\u0446\u0430 \u0441\u0442\u0440\u043e\u043a \u0438, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0441\u0447\u0438\u0442\u0430\u0435\u043c \u0442\u0435\u043a\u0441\u0442 \u043e\u0442 \u043c\u0430\u0440\u043a\u0435\u0440\u0430 \u0434\u043e \u043c\u0430\u0440\u043a\u0435\u0440\u0430 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439.<\/li>\n<li>\u0421\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \u0441\u0442\u0440\u043e\u043a (SortingTest\\MergeSorterUnit.pas).<\/li>\n<li>\u0417\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \u0441\u0442\u0440\u043e\u043a \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0432 \u0444\u0430\u0439\u043b.<\/li>\n<li>PROFIT!<\/li>\n<\/ol>\n<p>  \u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0443 \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0445\u043e\u0442\u0435\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0439, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u0431\u044b\u043b\u0430 \u0432\u0437\u044f\u0442\u0430 <a href=\"https:\/\/stackoverflow.com\/questions\/23531625\/multithreaded-sorting-application\/23532317\" rel=\"nofollow\"><i>Merge Sort<\/i><\/a>. (\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0442\u043e\u043c\u0443 \u0433\u0443\u0440\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0437\u0434\u0430\u043b \u0440\u0430\u0431\u043e\u0447\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0438 \u0432\u044b\u043b\u043e\u0436\u0438\u043b \u0435\u0435 \u043d\u0430 <i>Stackoverflow<\/i>.)<\/p>\n<p>  \u0412\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u2013 <i>\u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0444\u0430\u0439\u043b\u0430 \u043e\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043a \u0434\u0440\u0443\u0433\u043e\u043c\u0443<\/i> \u2013 \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u043a\u0443\u0434\u0430 \u0441\u043b\u043e\u0436\u043d\u0435\u0435. \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e <i>pipes<\/i> \u043d\u0430 Delphi \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 Microsoft \u2013 \u044d\u0442\u043e \u043e\u0434\u043d\u043e, \u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0437 \u043d\u0435\u0435 \u0440\u0430\u0431\u043e\u0447\u0443\u044e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u043b\u043a\u0443 \u0444\u0430\u0439\u043b\u043e\u0432 \u2013 \u0441\u043e\u0432\u0441\u0435\u043c \u0434\u0440\u0443\u0433\u043e\u0435. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 Microsoft \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432:<\/p>\n<ol>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/ipc\/multithreaded-pipe-server\" rel=\"nofollow\">Multithreaded Pipe Server<\/a>.<\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/ipc\/named-pipe-server-using-overlapped-i-o\" rel=\"nofollow\">Named Pipe Server Using Overlapped I\/O<\/a>.<\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/ipc\/named-pipe-server-using-completion-routines\" rel=\"nofollow\">Named Pipe Server Using Completion Routines<\/a>.<\/li>\n<\/ol>\n<p>  \u041a\u0430\u043a \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0434\u0432\u0443\u0445\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u043c\u0443\u0447\u0435\u043d\u0438\u0439, \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0444\u0430\u0439\u043b\u0430 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 (<a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/ipc\/multithreaded-pipe-server\" rel=\"nofollow\"><i>Multithreaded Pipe Server<\/i><\/a>) \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0441\u043b\u043e\u0436\u043d\u043e\u0439. \u0420\u0430\u0437\u0443\u043c\u043d\u0435\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0442\u043e\u0440\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 (<a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/ipc\/named-pipe-server-using-overlapped-i-o\" rel=\"nofollow\"><i>Named Pipe Server Using Overlapped I\/O<\/i><\/a>), \u0441 \u043d\u0438\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043a\u0443\u0434\u0430 \u043f\u0440\u043e\u0449\u0435 (\u043f\u0440\u0430\u0432\u0434\u0430, \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a \u043f\u043e \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u0441\u0432\u043e\u0438\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0442\u0435\u043b \u0438\u043c\u0435\u043d\u043d\u043e <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/ipc\/multithreaded-pipe-server\" rel=\"nofollow\">\u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/a>). \u041d\u043e \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u043e\u043c\u0443\u0447\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e\u0431\u044b \u0434\u043e\u0432\u0435\u0441\u0442\u0438 \u0432\u0441\u0451 \u044d\u0442\u043e \u0434\u0435\u043b\u043e \u0434\u043e \u0443\u043c\u0430. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0440\u043e\u0434\u0438\u043b\u0441\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 pipes: <i>TCommunicationEndpointBase<\/i> (CommunicationTest\\SimpleCommunicationUnit.pas).<\/p>\n<p>  \u0412\u043a\u0440\u0430\u0442\u0446\u0435, \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0444\u0430\u0439\u043b\u043e\u0432 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u0430\u043a:<\/p>\n<ol>\n<li>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440, \u0442\u043e \u0435\u0441\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u0435\u043c <i>named pipe<\/i>.<\/li>\n<li>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u043b\u0438\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043a \u044d\u0442\u043e\u043c\u0443 <i>named pipe<\/i>.<\/li>\n<li>\u041a\u0440\u0443\u0442\u0438\u043c \u0446\u0438\u043a\u043b \u00ab\u043f\u043e\u0441\u044b\u043b\u0430\u0435\u043c \u0437\u0430\u043f\u0440\u043e\u0441 \u2013 \u0436\u0434\u0435\u043c \u043e\u0442\u0432\u0435\u0442 \u2013 \u0447\u0438\u0442\u0430\u0435\u043c \u043e\u0442\u0432\u0435\u0442\u00bb \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0435 \u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435.<\/li>\n<li>\u0411\u043e\u043b\u044c\u0448\u0438\u0435 \u0444\u0430\u0439\u043b\u044b \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u043c \u0447\u0430\u0441\u0442\u044f\u043c\u0438 \u0438 \u043f\u043e\u0442\u043e\u043c \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u0438\u0437 \u044d\u0442\u0438\u0445 \u043a\u0443\u0441\u043e\u0447\u043a\u043e\u0432.<\/li>\n<li>\u041f\u043e \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435.<\/li>\n<\/ol>\n<p>  \u0412\u0441\u0435 \u043d\u044e\u0430\u043d\u0441\u044b \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 <a href=\"https:\/\/github.com\/L00pZBreak3r\/BlitzTest\" rel=\"nofollow\"><i><b>GitHub<\/b><\/i><\/a>, \u0433\u0434\u0435 \u0432\u044b\u043b\u043e\u0436\u0435\u043d \u043f\u043e\u043b\u043d\u044b\u0439 \u043a\u043e\u0434 \u0432\u0441\u0435\u0433\u043e \u0432\u044b\u0448\u0435\u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u043e\u0433\u043e. \u0412\u0441\u0451 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u043e \u0432 \u0432\u0438\u0434\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f (BlitzTest\\BlitzTest.dproj), \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0435\u0433\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c, \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c.<\/p>\n<p>  \u0414\u0430, \u0435\u0449\u0435 \u0442\u0430\u043c \u0434\u043e \u043a\u0443\u0447\u0438 \u043b\u0435\u0436\u0438\u0442 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <a href=\"http:\/\/docwiki.embarcadero.com\/Libraries\/Rio\/en\/System.SysUtils.StringReplace\" rel=\"nofollow\"><i>StringReplace<\/i><\/a> (BlitzTest\\StringReplaceCustomUnit.pas). \u041c\u043e\u0436\u0435\u0442, \u043a\u043e\u043c\u0443 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f.<\/p>\n<p>  \u041b\u044e\u0431\u044b\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 (\u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u043e\u0442\u043a\u0440\u043e\u0432\u0435\u043d\u043d\u0430\u044f \u0440\u0443\u0433\u0430\u043d\u044c) \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442\u0441\u044f.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 (\u043d\u0443, \u0430 \u0432\u0434\u0440\u0443\u0433?) \u043a\u043e\u0433\u043e-\u0442\u043e \u0437\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442 \u0434\u0440\u0443\u0433\u0438\u0435 \u043c\u043e\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438, \u0442\u043e \u043c\u043e\u0433\u0443 \u0438 \u043e \u043d\u0438\u0445 \u043f\u0430\u0440\u0443 \u0441\u043b\u043e\u0432 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c. \u0415\u0441\u043b\u0438, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u044d\u0442\u043e\u0442 \u0442\u0435\u043a\u0441\u0442 \u0432\u043e\u043e\u0431\u0449\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u0443\u044e\u0442.<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/505568\/\"> https:\/\/habr.com\/ru\/post\/505568\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/505568\/\">\u041f\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u043a\u0430\u043a-\u0442\u043e \u043f\u0435\u0440\u0435\u0434\u043e \u043c\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0443 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c <a href=\"https:\/\/github.com\/L00pZBreak3r\/BlitzTest\" rel=\"nofollow\">\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044e\u043d\u0438\u0442\u043e\u0432 \u043d\u0430 Delphi<\/a>, \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u044e\u0449\u0438\u0445 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c Windows:<\/p>\n<ol>\n<li><a href=\"https:\/\/docs.microsoft.com\/ru-ru\/windows\/win32\/memory\/sharing-files-and-memory\" rel=\"nofollow\">Shared memory<\/a>.<\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/ru-ru\/windows\/win32\/ipc\/using-pipes\" rel=\"nofollow\">Pipes<\/a>.<\/li>\n<\/ol>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-304919","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/304919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=304919"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/304919\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=304919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=304919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=304919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}