Uploaded image for project: 'Erlang/OTP'
  1. Erlang/OTP
  2. ERL-630

erlang:monitor/3 to provide Options list with time

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Won't Do
    • Affects Version/s: 21.0
    • Fix Version/s: None
    • Component/s: erts
    • Labels:
      None

      Description

      This suggestion is for the addition of an erlang:monitor/3 function as:

      monitor(Type :: process, Item :: monitor_process_identifier(), Options :: list(time)) ->
                 MonitorRef
      

      This would put the Erlang monotonic time into the 'DOWN' message in the native format at the time when the monitor detects the process has terminated. The reason for this option is to account for the delay that is associated with the monitor delivery which is variable due to load, otherwise a later monotonic time value could be created when the 'DOWN' message is received with no additional erlang:monitor/3 function.

      The 'DOWN' message for this feature could be:

      {'DOWN', MonitorRef, Type, Object, NativeTime, Info}
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              otp_team_vm Team VM
              Reporter:
              okeuday Michael Truog
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: