Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arrangement set_timeout fix #3

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module LockServSeqNumArrangement (P : Params) = struct
type client_id = int
type res = (output list * state) * ((name * msg) list)
type task_handler = name -> state -> res
type timeout_setter = name -> state -> float
type timeout_setter = name -> state -> float option

let systemName = "Lock Server with Sequence Numbering"

Expand Down
4 changes: 2 additions & 2 deletions extraction/lockserv/ocaml/LockServArrangement.ml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module LockServArrangement (P : Params) = struct
type client_id = int
type res = (output list * state) * ((name * msg) list)
type task_handler = name -> state -> res
type timeout_setter = name -> state -> float
type timeout_setter = name -> state -> float option

let systemName = "Lock Server"

Expand All @@ -35,7 +35,7 @@ module LockServArrangement (P : Params) = struct
let handleNet = fun dst src m s ->
let open LockServ in
Obj.magic ((lockServ_MultiParams P.num_clients).net_handlers (Obj.magic dst) (Obj.magic src) (Obj.magic m) (Obj.magic s))

let deserializeMsg = LockServSerialization.deserializeMsg

let serializeMsg = LockServSerialization.serializeMsg
Expand Down