Russian | English |
для создания потока по срабатыванию таймера установите поле sigev_notify в значение SIGEV_THREAD и заполните следующие поля | To create a thread whenever the timer fires, set the sigev_notify field to SIGEV_THREAD and fill these fields (см. "Getting Started with QNX Neutrino. A Guide for Realtime Programmers" by Rob Krten 2009 ssn) |
Затем вы передаёте реальные дату и время срабатывания таймера | you then pass the actual date and time when you want the timer to go off (см. "Getting Started with QNX Neutrino. A Guide for Realtime Programmers" by Rob Krten 2009 ssn) |
количество оставшегося до срабатывания таймера времени | amount of time remaining (ssn) |
область памяти, в которую функция может записывать количество оставшегося до срабатывания таймера времени | area where the function can fill in the amount of time remaining (ssn) |
оставшееся до срабатывания таймера время | time remaining (ssn) |
Параметр it_value задаёт либо интервал времени от настоящего момента до момента срабатывания таймера в случае относительного таймера, либо собственно время срабатывания в случае абсолютного таймера | the it_value specifies either how long from now the timer should go off in the case of a relative timer, or when the timer should go off in the case of an absolute timer (см. "Getting Started with QNX Neutrino. A Guide for Realtime Programmers" by Rob Krten 2009) |
передавать импульс при срабатывании таймера | send a pulse when the timer fires (ssn) |
после срабатывания таймера | once the timer fires (ssn) |
после срабатывания таймера значение величины it_interval задаёт относительное время для повторной загрузки таймера, чтобы он мог сработать снова | once the timer fires, the it_interval value specifies a relative value to reload the timer with so that it can trigger again (см. "Getting Started with QNX Neutrino. A Guide for Realtime Programmers" by Rob Krten 2009) |
поток по срабатыванию таймера | thread whenever the timer fires (ssn) |
реальные дата и время срабатывания таймера | actual date and time when you want the timer to go off (ssn) |
событие, которое таймер должен сгенерировать при срабатывании | event the timer should deliver whenever it fires (ssn) |
срабатывание таймера | timer expiration (ssn) |
тип события, которое таймер должен сгенерировать при срабатывании | kind of event the timer should deliver whenever it fires (ssn) |
указатель на область памяти, в которую функция может записывать количество оставшегося до срабатывания таймера времени | pointer to an area where the function can fill in the amount of time remaining (ssn) |
чтобы передать импульс при срабатывании таймера, присвойте полю sigev_notify значение SIGEV_PULSE и обеспечьте немного дополнительной информации | send a pulse when the timer fires, set the sigev_notify field to SIGEV_PULSE and provide some extra information (см. "Getting Started with QNX Neutrino. A Guide for Realtime Programmers" by Rob Krten 2009) |