pri queue manager/attached .erl file - spawned process exiting
Fri Apr 19 16:21:30 CEST 2002
i have attached qmpri.erl which implements priority message processing using
time-outs. same problem here is that the spawned process exits/dies quietly,
pman seems to indicate a badarg situation - but that is not getting thrown
3. qmpri:testdeq(Qm). % this just waits because pid=Qm has vanished
can you advise on why qmpri:qm/1 is quitting out of infinite recursion in
the absence of a stop message?
From: Vance Shipley [mailto:]
Sent: Friday, April 19, 2002 7:13 PM
To: Sameer Pendse
Cc: Ulf Wiger;
Subject: Re: no badarg thrown by spawned process - quiet ext
On Fri, 19 Apr 2002, Sameer Pendse wrote:
>in a spawned process, if i do a io:format("...~w",L) where L is
>a list, then my spawned process exits without a badarg error. if
>i put the L in a [L], it works fine. if i do the badop in a
>top-level process, i do get the badarg error.
Since the secord argument to io:format/2 is supposed to be a list
if you pass it a list as you say the behaviour will depend on what
is in that list. It may even work:
9> L = [foo].
10> io:format("...~w~n", L).
I tried a couple things and they all gave me a badarg.
What is in your list?
Motivity Telecom Inc.
+1 519 579 5816
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 871 bytes
Desc: not available
More information about the erlang-questions