User:AndrewJohnson/V3 Enhancements

From EPICSWIKI

V3 Enhancements

Little annoyances that need fixing in the codebase.


Callbacks

  • There's no way to set callback parameters to request record processing without actually making the request at the same time. This is inefficient since these parameters rarely if ever change. We need a routine called something like callbackSetRecord() that takes a dbCommon* and sets the callback and user parameters (it could also set prio to prec->prio since that's the normal case).
  • The pRec argument to callbackRequestProcessCallback isn't a dbCommon* -- but if we make it one, we'd have to cast all the record pointers to one, so maybe this isn't such a good idea after all.
  • There's no way to cancel a callbackRequest...Delayed() request. If there was, we could use that instead of having to create our own timers for operation timeouts.