Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the all-in-one-seo-pack domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/hwor/blagovest.org.ru/wp-includes/functions.php on line 6114

Notice: Функция _load_textdomain_just_in_time вызвана неправильно. Загрузка перевода для домена kirki была запущена слишком рано. Обычно это индикатор того, что какой-то код в плагине или теме запускается слишком рано. Переводы должны загружаться при выполнении действия init или позже. Дополнительную информацию можно найти на странице «Отладка в WordPress». (Это сообщение было добавлено в версии 6.7.0.) in /home/hwor/blagovest.org.ru/wp-includes/functions.php on line 6114

Notice: Функция _load_textdomain_just_in_time вызвана неправильно. Загрузка перевода для домена shamrock была запущена слишком рано. Обычно это индикатор того, что какой-то код в плагине или теме запускается слишком рано. Переводы должны загружаться при выполнении действия init или позже. Дополнительную информацию можно найти на странице «Отладка в WordPress». (Это сообщение было добавлено в версии 6.7.0.) in /home/hwor/blagovest.org.ru/wp-includes/functions.php on line 6114

Warning: Cannot modify header information - headers already sent by (output started at /home/hwor/blagovest.org.ru/wp-includes/functions.php:6114) in /home/hwor/blagovest.org.ru/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/hwor/blagovest.org.ru/wp-includes/functions.php:6114) in /home/hwor/blagovest.org.ru/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/hwor/blagovest.org.ru/wp-includes/functions.php:6114) in /home/hwor/blagovest.org.ru/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/hwor/blagovest.org.ru/wp-includes/functions.php:6114) in /home/hwor/blagovest.org.ru/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/hwor/blagovest.org.ru/wp-includes/functions.php:6114) in /home/hwor/blagovest.org.ru/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/hwor/blagovest.org.ru/wp-includes/functions.php:6114) in /home/hwor/blagovest.org.ru/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/hwor/blagovest.org.ru/wp-includes/functions.php:6114) in /home/hwor/blagovest.org.ru/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/hwor/blagovest.org.ru/wp-includes/functions.php:6114) in /home/hwor/blagovest.org.ru/wp-includes/rest-api/class-wp-rest-server.php on line 1893
{"id":94981,"date":"2015-12-18T17:29:49","date_gmt":"2015-12-18T13:29:49","guid":{"rendered":"http:\/\/blagovest.org.ru\/?p=94981"},"modified":"2015-12-18T17:29:49","modified_gmt":"2015-12-18T13:29:49","slug":"pochemu-roditelskij-i-dochernij-process-vrode","status":"publish","type":"post","link":"https:\/\/blagovest.org.ru\/?p=94981","title":{"rendered":"\u043f\u043e\u0447\u0435\u043c\u0443 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u0438 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432\u0440\u043e\u0434\u0435 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0442 \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 \u043c\u044c\u044e\u0442\u0435\u043a\u0441? \u041e\u0421 windows"},"content":{"rendered":"

\u043a\u043e\u0434:<\/p>\n

\u0420\u041e\u0414\u0418\u0422\u0415\u041b\u042c:<\/p>\n

#include "stdafx.h"
#include "windows.h"
#include "stdio.h"<\/p>\n

HANDLE M1,M2,M3,M4,M5,MM;
STARTUPINFO startupinfo1,startupinfo2,startupinfo3,startupinfo4,startupinfo5;
PROCESS_INFORMATION processinfo1,processinfo2,processinfo3;<\/p>\n

int main()
{<\/p>\n

\/\/\u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u0435\u043b\u0430\u0435\u043c \u043c\u044c\u044e\u0442\u0435\u043a\u0441\u044b
\tM1 = CreateMutex(NULL, TRUE, _T("Mutex1"));
\tif(M1!=0) printf("main: mutex1 has been created, ID = %dn", M1);
\telse printf("\u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 mutex1n");  \/\/\u0434\u043e\u043b\u0436\u0435\u043d \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0438\u0434 \u043e\u0431\u044a\u0435\u043a\u0442\u0430
\tM2 = CreateMutex(NULL, TRUE, _T("Mutex2"));
\tif(M2!=0) printf("main: mutex2 has been created, ID = %dn", M2);
\telse printf("\u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 mutex2n");
\tM3 = CreateMutex(NULL, TRUE, _T("Mutex3"));
\tif(M3!=0) printf("mutex3 has been createdn");
\telse printf("\u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 mutex3n");<\/p>\n

\t\/\/M1 = OpenMutex(MUTEX_ALL_ACCESS, 1, _T("Mutex1"));
\tDWORD waitingstat = NULL;
   WaitForSingleObject(M1, INFINITE);
\tif(waitingstat == WAIT_OBJECT_0)
\t{
\t  M1 = OpenMutex(SYNCHRONIZE, 1, _T("Mutex1"));
     if(M1!= 0) printf("main: opened mutex1, id = %dn", M1);
     else printf("main: failed to open mutex1n", M1);
\t}<\/p>\n

\t\/\/\u043e\u0431\u043d\u0443\u043b\u044f\u0435\u043c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u043f\u0435\u0440\u0435\u0434 \u0432\u044b\u0437\u043e\u0432\u043e\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432
   ZeroMemory( &startupinfo1, sizeof(startupinfo1) );
\tstartupinfo1.cb = sizeof(startupinfo1);
\tZeroMemory( &processinfo1, sizeof(processinfo1) );<\/p>\n

\tint succ = CreateProcess( _T("C:\\Users\\bukva-ziu\\Desktop\\myMultitasking\\multitaskingWin\\Debug\\power.exe"), NULL, NULL, NULL, FALSE, 0, NULL, NULL, &startupinfo1, &processinfo1);
\t\/\/printf("%d", succ);<\/p>\n

\t\/\/TerminateProcess(processinfo1.hProcess, 10);
\tWaitForSingleObject(processinfo1.hProcess,INFINITE);
\tprintf("child exitedn");
\tCloseHandle(processinfo1.hProcess);
   CloseHandle(processinfo1.hThread);<\/p>\n

\tgetch();
return 0;
}<\/p>\n

\u0420\u0415\u0411\u0415\u041d\u041e\u041a:<\/p>\n

#include "stdafx.h"
#include "windows.h"
#include "stdio.h"<\/p>\n

HANDLE M1;
DWORD waitingstat;<\/p>\n

int _tmain(int argc, _TCHAR* argv[])
{
printf("power launched!n");<\/p>\n

WaitForSingleObject(M1, INFINITE);
if(waitingstat == WAIT_OBJECT_0)
{
M1 = OpenMutex(SYNCHRONIZE, 1, _T("Mutex1"));
if(M1!= 0) printf("power: opened mutex1, id = %dn", M1);
else printf("power: failed to open mutex1n", M1);
}
return 0;
}<\/p>\n","protected":false},"excerpt":{"rendered":"

\u043a\u043e\u0434: \u0420\u041e\u0414\u0418\u0422\u0415\u041b\u042c: #include "stdafx.h"#include "windows.h"#include "stdio.h" HANDLE M1,M2,M3,M4,M5,MM;STARTUPINFO startupinfo1,startupinfo2,startupinfo3,startupinfo4,startupinfo5;PROCESS_INFORMATION processinfo1,processinfo2,processinfo3; int main(){ \/\/\u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u0435\u043b\u0430\u0435\u043c \u043c\u044c\u044e\u0442\u0435\u043a\u0441\u044b M1 = CreateMutex(NULL, TRUE, _T("Mutex1")); if(M1!=0) printf("main: mutex1 has been created, ID = %dn", M1); else printf("\u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 mutex1n");  \/\/\u0434\u043e\u043b\u0436\u0435\u043d \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0438\u0434 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 M2 = CreateMutex(NULL, TRUE, _T("Mutex2")); if(M2!=0) printf("main: mutex2 has been created, ID = %dn", M2); […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1435],"tags":[1624,1534],"class_list":["post-94981","post","type-post","status-publish","format-standard","hentry","category-windows","tag-mjuteksy","tag-processy"],"_links":{"self":[{"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=\/wp\/v2\/posts\/94981","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=94981"}],"version-history":[{"count":0,"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=\/wp\/v2\/posts\/94981\/revisions"}],"wp:attachment":[{"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=94981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=94981"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blagovest.org.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=94981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}