File: unknown_erlang_send_func.txt

package info (click to toggle)
erlang 1%3A27.3.4.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 225,000 kB
  • sloc: erlang: 1,658,966; ansic: 405,769; cpp: 177,850; xml: 82,435; makefile: 15,031; sh: 14,401; lisp: 9,812; java: 8,603; asm: 6,541; perl: 5,836; python: 5,484; sed: 72
file content (48 lines) | stat: -rw-r--r-- 1,703 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48

  send(Dest, Msg)

  Sends a message and returns Msg. This is the same as using the
  send operator: Dest ! Msg.

  Dest can be a remote or local process identifier, an alias, a
  (local) port, a locally registered name, or a tuple {RegName,
  Node} for a registered name at another node.

  The function fails with a badarg run-time error if Dest is an
  atom name, but this name is not registered. This is the only case
  when send fails for an unreachable destination Dest (of
  correct type).

  Note

    For some important information about distributed signals, see
    the Blocking Signaling Over Distribution section in the 
    Processes chapter of the Erlang Reference Manual.

  send(Dest, Msg, Options)

  Either sends a message and returns ok, or does not send the
  message but returns something else (see below). Otherwise the same
  as erlang:send/2.

  For more detailed explanation and warnings, see 
  erlang:send_nosuspend/2,3.

  Options:

   • nosuspend - If the sender would have to be suspended to do
     the send, nosuspend is returned instead.

   • noconnect - If the destination node would have to be
     auto-connected to do the send, noconnect is returned
     instead.

  Note

    For some important information about distributed signals, see
    the Blocking Signaling Over Distribution section in the 
    Processes chapter of the Erlang Reference Manual.

  Warning

    As with erlang:send_nosuspend/2,3: use with extreme care.