Project

General

Profile

Actions

Bug #3935

closed

timer_settime() for a one-shot should use cyclic_reprogram()

Added by Robert Mustacchi almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Category:
kernel
Start date:
2013-07-28
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Currently, timer_settime() on a CLOCK_HIGHRES timer will remove any old cyclic associated with the timer, and create a new one with the desired interval. For those that wish to use a CLOCK_HIGHRES as a one-shot, this is a bunch of unnecessary work, and it would be much more efficient to use the (relatively new) cyclic_reprogram() interface for this case.

Actions #1

Updated by Robert Mustacchi almost 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 90 to 100

Resolved in c48ec423be1da03d6a2b8d2411544360fb3f7378.

Actions

Also available in: Atom PDF