내용으로 건너뛰기
Out of the Box
사용자 도구
로그인
사이트 도구
검색
도구
문서 보기
이전 판
역링크
Fold/unfold all
최근 바뀜
미디어 관리자
사이트맵
로그인
>
최근 바뀜
미디어 관리자
사이트맵
추적:
•
2d_level_design
•
2020-05_learning_simulate_dynamic_environments_gamegan
•
2021-10_embodied_intelligence_via_learning_and_evolution
•
2021-07_few-shot_neural_architecture_search
•
2020-08_game_level_clustering_and_generation_using_gaussian_mixture_vaes
•
extream_learning_machine
asyncio
이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요.
====== asyncio ====== <code python> import asyncio async def func(_id): while True: print(f'task{_id}') await asyncio.sleep(1) if __name__ == '__main__': async def main(n_workers): coros = [func(_id) for _id in range(n_workers)] await asyncio.gather(*coros) asyncio.run(main(10)) </code>
asyncio.txt
· 마지막으로 수정됨:
2024/03/23 02:38
저자
127.0.0.1
문서 도구
문서 보기
이전 판
역링크
Fold/unfold all
맨 위로