내용으로 건너뛰기
Out of the Box
사용자 도구
로그인
사이트 도구
검색
도구
문서 보기
이전 판
Fold/unfold all
역링크
최근 바뀜
미디어 관리자
사이트맵
로그인
>
최근 바뀜
미디어 관리자
사이트맵
추적:
•
phasic_policy_gradient
•
stroke_based_rendering
•
fast_attention
•
embodied_agent
•
distributed_rl
python:parallel_processing
이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요.
====== Python: parallel processing ====== * https://pythonhosted.org/joblib/ * https://medium.com/@bfortuner/python-multithreading-vs-multiprocessing-73072ce5600b AWS lambda * http://pywren.io/ ====== Multiprocessing ====== 자식 프로세스 다 죽이기 <code python> def killtree(pid, including_parent=True): parent = psutil.Process(pid) for child in parent.children(recursive=True): print "child", child child.kill() if including_parent: parent.kill() ## get the pid of this program pid=os.getpid() ## when you want to kill everything, including this program killtree(pid) </code> * https://www.reddit.com/r/learnpython/comments/7vwyez/how_to_kill_child_processes_when_using/
python/parallel_processing.txt
· 마지막으로 수정됨: 2024/03/23 02:42 저자
127.0.0.1
문서 도구
문서 보기
이전 판
역링크
Fold/unfold all
맨 위로