Skip to content

Commit

Permalink
Merge pull request #3 from Kethku/arrangement-set_timeout-fix
Browse files Browse the repository at this point in the history
arrangement set_timeout fix
  • Loading branch information
palmskog authored Mar 5, 2017
2 parents 974cb4b + 22fd8e1 commit 5b5e764
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 5b5e764

Please sign in to comment.