@@ -38,14 +38,13 @@ msgid ""
3838msgstr ""
3939
4040#: ../../library/asyncio-policy.rst:24
41- #, fuzzy
4241msgid ""
4342"Custom event loop policies can control the behavior of "
4443":func:`get_event_loop`, :func:`set_event_loop`, and "
4544":func:`new_event_loop`."
4645msgstr ""
47- "사용자 정의 이벤트 루프 정책을 사용하여, :func:`get_event_loop`, :func:`set_event_loop` 및 "
48- ":func:`new_event_loop` 함수의 동작을 사용자 정의할 수 있습니다."
46+ "사용자 정의 이벤트 루프 정책은 :func:`get_event_loop`, :func:`set_event_loop` 및 "
47+ ":func:`new_event_loop`\\ 의 동작을 제어할 수 있습니다."
4948
5049#: ../../library/asyncio-policy.rst:27
5150msgid ""
@@ -316,14 +315,13 @@ msgid ""
316315msgstr "메인 외의 OS 스레드에서 asyncio 이벤트 루프가 실행되는 경우에도 신뢰성 있게 작동합니다."
317316
318317#: ../../library/asyncio-policy.rst:240
319- #, fuzzy
320318msgid ""
321319"There is no noticeable overhead when handling a big number of children "
322320"(*O*\\ (1) each time a child terminates), but starting a thread per "
323321"process requires extra memory."
324322msgstr ""
325- "많은 수의 자식을 처리할 때 눈에 띄는 오버헤드가 없습니다만 (자식이 종료될 때마다 *O(1)* ), 프로세스마다 스레드를 시작하는 "
326- "데 추가 메모리가 필요합니다."
323+ "많은 수의 자식을 처리할 때 눈에 띄는 오버헤드가 없습니다만 (자식이 종료될 때마다 *O* \\ (1)), 프로세스마다 스레드를 "
324+ "시작하는 데 추가 메모리가 필요합니다."
327325
328326#: ../../library/asyncio-policy.rst:243
329327msgid "This watcher is used by default."
@@ -353,14 +351,13 @@ msgid ""
353351msgstr "감시자가 일단 설치되면 다른 스레드에서 서브 프로세스를 실행하는 데 제한이 없습니다."
354352
355353#: ../../library/asyncio-policy.rst:259
356- #, fuzzy
357354msgid ""
358355"The solution is safe but it has a significant overhead when handling a "
359356"big number of processes (*O*\\ (*n*) each time a :py:data:`SIGCHLD` is "
360357"received)."
361358msgstr ""
362359"이 해법은 안전하지만 많은 수의 프로세스를 처리할 때 상당한 오버헤드가 있습니다 (:py:data:`SIGCHLD`\\ 가 수신될 "
363- "때마다 *O(n)* )."
360+ "때마다 *O* \\ (*n*) )."
364361
365362#: ../../library/asyncio-policy.rst:269
366363msgid ""
@@ -373,14 +370,13 @@ msgstr ""
373370"발생합니다)."
374371
375372#: ../../library/asyncio-policy.rst:276
376- #, fuzzy
377373msgid ""
378374"This solution is as safe as :class:`MultiLoopChildWatcher` and has the "
379375"same *O*\\ (*n*) complexity but requires a running event loop in the main"
380376" thread to work."
381377msgstr ""
382- "이 해법은 :class:`MultiLoopChildWatcher`\\ 만큼 안전하고 같은 *O(N)* 복잡성을 갖고 있지만, "
383- "작동하려면 메인 스레드에서 실행 중인 이벤트 루프가 필요합니다."
378+ "이 해법은 :class:`MultiLoopChildWatcher`\\ 만큼 안전하고 같은 *O* \\ (*n*) 복잡성을 갖고 있지만,"
379+ " 작동하려면 메인 스레드에서 실행 중인 이벤트 루프가 필요합니다."
384380
385381#: ../../library/asyncio-policy.rst:283
386382msgid ""
@@ -392,11 +388,10 @@ msgstr ""
392388" 망가뜨리고 그들의 종료를 기다릴 수 있습니다."
393389
394390#: ../../library/asyncio-policy.rst:287
395- #, fuzzy
396391msgid ""
397392"There is no noticeable overhead when handling a big number of children "
398393"(*O*\\ (1) each time a child terminates)."
399- msgstr "많은 수의 자식을 처리할 때 눈에 띄는 오버헤드가 없습니다 (자식이 종료될 때마다 *O(1)* )."
394+ msgstr "많은 수의 자식을 처리할 때 눈에 띄는 오버헤드가 없습니다 (자식이 종료될 때마다 *O* \\ (1))."
400395
401396#: ../../library/asyncio-policy.rst:290
402397msgid ""
@@ -447,6 +442,18 @@ msgid ""
447442"\n"
448443"asyncio.set_event_loop_policy(MyEventLoopPolicy())"
449444msgstr ""
445+ "class MyEventLoopPolicy(asyncio.DefaultEventLoopPolicy):\n"
446+ "\n"
447+ " def get_event_loop(self):\n"
448+ " \"\"\" 이벤트 루프를 가져옵니다.\n"
449+ "\n"
450+ " None이거나 EventLoop의 인스턴스일 수 있습니다.\n"
451+ " \"\"\" \n"
452+ " loop = super().get_event_loop()\n"
453+ " # loop로 무언가를 합니다 ...\n"
454+ " return loop\n"
455+ "\n"
456+ "asyncio.set_event_loop_policy(MyEventLoopPolicy())"
450457
451458#~ msgid ""
452459#~ "An event loop policy is a global"
0 commit comments