logo       

Re: testing codes in erl with running processes: msg#00382

lang.erlang.general

Subject: Re: testing codes in erl with running processes


> Date: Fri, 25 Apr 2003 08:57:28 -0400 (EDT)
> From: HP Wei <hp@xxxxxxxxxx>
> Subject: Re: testing codes in erl with running processes

> I just realized that in my process, I refer to an ets table.
> And an ets table is associated with the running shell.
> This should explain why that process dies.
>
> If this is the case, I probably have no way to avoid this from
> happening. The easy way is to develop code in another erl ?

write a function that spawns a process, and let that process:

1 create the ets table
2 not die


bengt




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise