gets the TID and PID of the running process
INCLUDE 'sysman.h' get_my_ids(Tid,Pid)
get_my_ids(Tid) (o,o)
int(Tid) (o) Tid of the running process
int(Pid) (o) Pid of the running process
Shortcut for using get_my_id() and set_id to extract the current TID and PID.
get_my_ids(Tid,_), write("Locatet on Processor ",Tid),nl.
No runtime errors.
client-server
exec , xcall , alloc_server , get_id , set_id , send_msg , rec_msg