Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7514137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:24:19+00:00 2026-05-30T00:24:19+00:00

Three erlang processes have been created in erlang shell and registered locally, named Pid,

  • 0

Three erlang processes have been created in erlang shell and registered locally, named Pid, Pid2, Pid3. Then I want to terminate “Pid” firstly by function “exit/2”.

(emacs@yus-iMac.local)62> exit(lsaaa_dispatch,test).   %lsaaa_dispatch is the above Pid's local registered name
** exception error: bad argument
     in function  exit/2
        called as exit(lsaaa_dispatch,test)

Why exception happens?
And why all the three process are terminate? Because I can’t find them in Pman.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T00:24:21+00:00Added an answer on May 30, 2026 at 12:24 am

    exit/2 accepts a pid, not a term. And it’s defined by the kernel ‘erlang’ module.

    exit(whereis(lsaaa_dispatch), test).
    

    Of your second question, think of the relationship these processes have with your shell.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been coding in python/django and c/c++ from last three years for various
i have been struggling to connect to erlang node and with no luck. The
Is there a way to have a full interpreter in Erlang, not just a
I am using a single module a lot in the Erlang shell. Is there
Erlang's Characteristics From Erlang Programming (2009): Erlang concurrency is fast and scalable. Its processes
I'm studying Erlang's process model at the moment. I have hit a snag in
In Nitrogen, the Erlang web framework, I have the following problem. I have a
I've been poring over this Erlang crash dump where the VM has run out
Erlang is known for being able to support MANY lightweight processes; it can do
I have seen lots of chat examples in Erlang but what about lists, like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.