For a task to be done every hour, which one do you recommend and why?since the system works in real time with a high load of the processor and memory and I / O, I need a better approach with minimal overhead for checking if it's time to complete the task or not!
Edit: It may take more than one hour to complete the task so that it does not start twice.
Edit: I have an application that does a ton of image processing and I / O on disk and online. The task can be included both in this application and as an external application.
. - - -, ? , system.threading.timer. Windows , .
:
? .
, " ". (4PM, 5PM), . , . , , , . , , , ( ).
Thread.Sleep() , . Thread , .
Windows, Thread X , , , - . . , . Thread.Sleep().
, , . , , .
Source: https://habr.com/ru/post/1781651/More articles:Scalability php applications - performancewhy we store -D in others c Flags in xcode - iphone-sdk-3.0Need help splitting MVC - phpConvert uint8 * to std :: string - c ++Splitting a string into a list according to a given format - pythonкак перейти к середине единственного связанного списка на одной итерации? - javaВыберите таблицу или массив для каждой строки более крупного запроса выбора - sqlHow to create an NSPredicate to search for records with a leading numeric value? - objective-chttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1781655/sending-mails-from-third-parties-to-third-parties&usg=ALkJrhiJFZuvkhxcHDcpfDBxUnx-hkgoMgMoving from an array of strings to datarow - c #All Articles