def get_sid(self):
""" return the CURRENT session id of the process. this differs from
self.sid in that this refects the current state of the process, where
self.sid is the session id at launch """
return os.getsid(self.pid)
评论列表
文章目录