In [7]:
import threading
threading.current_thread().name
Out[7]:
In [8]:
threading.current_thread().ident
Out[8]:
In [12]:
import os
os.getpid()
Out[12]:
In [13]:
import ctypes
ctypes.CDLL('libc.so.6').syscall(186)
Out[13]:
In [ ]: