Rate-monotonic scheduling for hard-real-time systems