 
   """
   @spec exit(pid, term) :: true
-  def exit(pid, reason) do
-    :erlang.exit(pid, reason)
-  end
+  defdelegate exit(pid, reason), to: :erlang
 
   @doc """
   Sleeps the current process for the given `timeout`.

  Inlined by the compiler.
  """
  @spec cancel_timer(reference) :: non_neg_integer | false
  def cancel_timer(timer_ref) do
    :erlang.cancel_timer(timer_ref)
  end

  @doc """
  Reads a timer created by `send_after/3`.


  Inlined by the compiler.
  """
  @spec registered() :: [atom]
  defdelegate registered(), to: :erlang

  @typep process_flag :: :trap_exit | :error_handler | :min_heap_size |
                         :min_bin_vheap_size | :priority | :save_calls |
