Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8990203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:27:00+00:00 2026-06-15T22:27:00+00:00

Is it possible to implement a custom hardware-timer-based scheduler for reactive extensions? How would

  • 0

Is it possible to implement a custom hardware-timer-based scheduler for reactive extensions? How would I even start, are there any good examples?

I have a hardware that can send me an accurate interrupt each millisecond. I would like to leverage it to create a more precise RX scheduler.

UPDATE

Thanks to the keywords from Asti’s answer I found this blog post, which lead me to the discovery that I can implement a VirtualTimeScheduler<TAbsolute, TRelative>, since my hardware device provides me with absolute timestamps.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T22:27:01+00:00Added an answer on June 15, 2026 at 10:27 pm

    I’m not sure how accurately it would pan-out (deadline guarantees are difficult to make in GC’d systems), but here’s how I might start off.

    • Start off with by implementing the IScheduler interface.

    • Internally, use the System.Reactive.Concurrency.SchedulerQueue<TAbsolute> class to maintain a prioritised queue of scheduled items. TAbsolute is the type of the absolute due time of each scheduled item, so it might be easier if you choose a numeric type closest to the one provided by your hardware.

    • By using a prioritised queue for items, you only have evaluate the whether the first item in the queue is due. You can probably cache the next due time and compare it on every interrupt.

    • Additionally, implement the ISchedulerPeriodic interface, which allows it to be more optimized towards recurring schedules.

    Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Are there any good guides on how to implement a custom role provider which
Would it be possible to implement a custom Thread class in Java (using JNI)
Is it possible to implement a custom permission level that allows a user to
Is it possible to implement custom paging for repeater using ObjectDataSource's: EnablePaging=true MaximumRowsParameterName=maximumRows StartRowIndexParameterName=startRowIndex
I'm working on a custom Cortex-M3-based device and I need to implement in-application programming
Is it possible to implement custom HTML or PHP in MODx CMS pages? I
There are several tutorials on how to implement custom AsyncTaskLoaders but none I found
I am trying to implement a custom task scheduler system. I have a following
is to possible to attach custom events to the document's body? I wanna implement
Is it possible to implement client-site validation for custom ValidationAttribute, which is used in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.