[erlang-questions] check which scheduler process is running on

Tony Rogvall tony@REDACTED
Wed May 21 13:07:11 CEST 2014


I think you can not really know if the process is actually executing unless
the Pid =:= self(). Any thoughts about that ?

/Tony


On 21 maj 2014, at 12:01, Adel Zhang <adelzhang@REDACTED> wrote:

> hi,
> 
> erlang:system_info(scheduler_id) can get the scheduler id that the calling process is running on. But if I only have the pid, how can I know the scheduler id?
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

"Installing applications can lead to corruption over time. Applications gradually write over each other's libraries, partial upgrades occur, user and system errors happen, and minute changes may be unnoticeable and difficult to fix"



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140521/3b51791d/attachment.htm>


More information about the erlang-questions mailing list