[erlang-questions] [Q] erlang:check_process_code/2

Bjorn Gustavsson bjorn@REDACTED
Thu Apr 17 16:50:08 CEST 2008


Ladislav Lenart <lenartlad@REDACTED> writes:

> Hello,
> 
> I think I run into trouble with code purge/delete machinery. To solve
> this puzzle, I need to understand how erlang:check_process_code/2
> works. Could anyone please tell me under which circumstances this
> function returns true? I know that it is "when a process is executing
> old code" but what does that really mean (for example, what if the
> process references a Fun from that module,...)?

Yes, if a fun references old code, erlang:check_process_code/2 will
return true.

/Bjorn
-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list