Skip to content

Instantly share code, notes, and snippets.

@thegrubbsian
Last active August 29, 2015 13:57
Show Gist options
  • Save thegrubbsian/9537679 to your computer and use it in GitHub Desktop.
Save thegrubbsian/9537679 to your computer and use it in GitHub Desktop.
Weird API behavior on Process.register
iex(10)> Process.alive? tile_pid
true
iex(11)> Process.register tile_pid, :foo
** (ArgumentError) argument error
:erlang.register(:foo, #PID<0.163.0>)
(elixir) lib/process.ex:333: Process.register/2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment