Thanks to visit codestin.com
Credit goes to github.com

Skip to content

receive_event does not increment internal time correctly #1

@petebannister

Description

@petebannister

The implementation of receive_event does not look correct.

Conceptually the following should occur:

time_= max(received_time, time_)+1;
return time_;

You are not adding 1 to the clock in all cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions