|
Re: testing codes in erl with running processes: msg#00384lang.erlang.general
>> 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 Yes, the problem is resolved. Now, the ets table is owned by the process instead of the shell. Thanks for reminding me of the scoping! HP |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Erlang in a french magazine (L'informaticien): 00384, Bengt Kleberg |
|---|---|
| Next by Date: | Re: Erlang in a french magazine (L'informaticien): 00384, Fabien Dagnat |
| Previous by Thread: | Re: testing codes in erl with running processesi: 00384, Bengt Kleberg |
| Next by Thread: | prolog like operation in erlang ?: 00384, HP Wei |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |