Skip to content

Timing challenge exercises assume execution does not terminate early #224

@clarksmr

Description

@clarksmr

The exercises Timing Challenge {2,3,4} at the end of the concurrency chapter assume that the thunked functions run long enough that all their printing is accomplished. That will not be true if they are run merely as Lwt_main.run (timingN ()), though. It would suffice to run them as e.g. Lwt_main.run (ignore (timingN ()); fst (Lwt.wait ())) but that would never exit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions