[erlang-questions] check which scheduler process is running on
Wed May 21 14:18:55 CEST 2014
and... processes are in general not bound to a specific scheduler.
Which means erlang:system_info(scheduler_id) returns the scheduler
the process *was* running on.
On 05/21/2014 01:07 PM, Tony Rogvall wrote:
> 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"
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions