[erlang-questions] check which scheduler process is running on
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 ?
On 21 maj 2014, at 12:01, Adel Zhang <adelzhang@REDACTED> wrote:
> 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
"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...
More information about the erlang-questions