diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2011-03-30 01:18:47 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2011-03-30 01:18:47 -0400 |
commit | c23c28f7bdbdbe3f614a37813ef0fa268df6aa76 (patch) | |
tree | 6f4aa2f66b00dc06f68122b4d5d0e03b09b4b1cb /include | |
parent | 631137a60abda0e4b052912dd2f6d36d5a38f69c (diff) |
HRT and SRT both working together.
Diffstat (limited to 'include')
-rw-r--r-- | include/litmus/servers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/litmus/servers.h b/include/litmus/servers.h index 4a08c02e5623..3061fb8d2c0d 100644 --- a/include/litmus/servers.h +++ b/include/litmus/servers.h | |||
@@ -128,8 +128,8 @@ void pserver_stop_releasing(pserver_t *server); | |||
128 | void server_release(server_t *server, lt_t budget); | 128 | void server_release(server_t *server, lt_t budget); |
129 | static inline void pserver_release(pserver_t *server) | 129 | static inline void pserver_release(pserver_t *server) |
130 | { | 130 | { |
131 | server->deadline += server->period; | ||
132 | server->release = server->deadline; | 131 | server->release = server->deadline; |
132 | server->deadline += server->period; | ||
133 | server_release(&server->server, server->wcet); | 133 | server_release(&server->server, server->wcet); |
134 | } | 134 | } |
135 | 135 | ||