Skip to content

ErlangPid

[Source]

An Erlang process identifier.

A pid is a plain value: node name, number, serial and creation. Nothing is allocated on the C side, so pids can be created, copied, compared and hashed freely.

class val ErlangPid is
  Comparable[ErlangPid val] ref,
  Hashable ref,
  Stringable box

Implements


Constructors

create

[Source]

new val create(
  node': String val,
  num': U32 val = 0,
  serial': U32 val = 0,
  creation': U32 val = 0)
: ErlangPid val^

Parameters

  • node': String val
  • num': U32 val = 0
  • serial': U32 val = 0
  • creation': U32 val = 0

Returns


Public fields

let node: String val

[Source]


let num: U32 val

[Source]


let serial: U32 val

[Source]


let creation: U32 val

[Source]


Public Functions

eq

[Source]

fun box eq(
  that: ErlangPid val)
: Bool val

Parameters

Returns


lt

[Source]

fun box lt(
  that: ErlangPid val)
: Bool val

Parameters

Returns


hash

[Source]

fun box hash()
: USize val

Returns


string

[Source]

fun box string()
: String iso^

Returns


le

[Source]

fun box le(
  that: ErlangPid val)
: Bool val

Parameters

Returns


ge

[Source]

fun box ge(
  that: ErlangPid val)
: Bool val

Parameters

Returns


gt

[Source]

fun box gt(
  that: ErlangPid val)
: Bool val

Parameters

Returns


compare

[Source]

fun box compare(
  that: ErlangPid val)
: Compare

Parameters

Returns


ne

[Source]

fun box ne(
  that: ErlangPid val)
: Bool val

Parameters

Returns