@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.13\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2025-11-21 15:16 +0000\n "
14+ "POT-Creation-Date : 2025-11-27 15:00 +0000\n "
1515"PO-Revision-Date : 2025-09-15 01:03+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -2554,6 +2554,204 @@ msgid ""
25542554"}"
25552555msgstr ""
25562556
2557+ msgid "Legacy Locking APIs"
2558+ msgstr ""
2559+
2560+ msgid ""
2561+ "These APIs are obsolete since Python 3.13 with the introduction of :c:type:"
2562+ "`PyMutex`."
2563+ msgstr ""
2564+
2565+ msgid "These APIs are now a simple wrapper around ``PyMutex``."
2566+ msgstr ""
2567+
2568+ msgid "A pointer to a mutual exclusion lock."
2569+ msgstr ""
2570+
2571+ msgid "The result of acquiring a lock with a timeout."
2572+ msgstr ""
2573+
2574+ msgid "Failed to acquire the lock."
2575+ msgstr ""
2576+
2577+ msgid "The lock was successfully acquired."
2578+ msgstr ""
2579+
2580+ msgid "The lock was interrupted by a signal."
2581+ msgstr ""
2582+
2583+ msgid "Allocate a new lock."
2584+ msgstr ""
2585+
2586+ msgid ""
2587+ "On success, this function returns a lock; on failure, this function returns "
2588+ "``0`` without an exception set."
2589+ msgstr ""
2590+
2591+ msgid "The caller does not need to hold the :term:`GIL`."
2592+ msgstr ""
2593+
2594+ msgid ""
2595+ "This function now always uses :c:type:`PyMutex`. In prior versions, this "
2596+ "would use a lock provided by the operating system."
2597+ msgstr ""
2598+
2599+ msgid ""
2600+ "Destroy *lock*. The lock should not be held by any thread when calling this."
2601+ msgstr ""
2602+
2603+ msgid "Acquire *lock* with a timeout."
2604+ msgstr ""
2605+
2606+ msgid ""
2607+ "This will wait for *microseconds* microseconds to acquire the lock. If the "
2608+ "timeout expires, this function returns :c:enumerator:`PY_LOCK_FAILURE`. If "
2609+ "*microseconds* is ``-1``, this will wait indefinitely until the lock has "
2610+ "been released."
2611+ msgstr ""
2612+
2613+ msgid ""
2614+ "If *intr_flag* is ``1``, acquiring the lock may be interrupted by a signal, "
2615+ "in which case this function returns :c:enumerator:`PY_LOCK_INTR`. Upon "
2616+ "interruption, it's generally expected that the caller makes a call to :c:"
2617+ "func:`Py_MakePendingCalls` to propagate an exception to Python code."
2618+ msgstr ""
2619+
2620+ msgid ""
2621+ "If the lock is successfully acquired, this function returns :c:enumerator:"
2622+ "`PY_LOCK_ACQUIRED`."
2623+ msgstr ""
2624+
2625+ msgid "Acquire *lock*."
2626+ msgstr ""
2627+
2628+ msgid ""
2629+ "If *waitflag* is ``1`` and another thread currently holds the lock, this "
2630+ "function will wait until the lock can be acquired and will always return "
2631+ "``1``."
2632+ msgstr ""
2633+
2634+ msgid ""
2635+ "If *waitflag* is ``0`` and another thread holds the lock, this function will "
2636+ "not wait and instead return ``0``. If the lock is not held by any other "
2637+ "thread, then this function will acquire it and return ``1``."
2638+ msgstr ""
2639+
2640+ msgid ""
2641+ "Unlike :c:func:`PyThread_acquire_lock_timed`, acquiring the lock cannot be "
2642+ "interrupted by a signal."
2643+ msgstr ""
2644+
2645+ msgid ""
2646+ "Release *lock*. If *lock* is not held, then this function issues a fatal "
2647+ "error."
2648+ msgstr ""
2649+
2650+ msgid "Operating System Thread APIs"
2651+ msgstr ""
2652+
2653+ msgid "Sentinel value for an invalid thread ID."
2654+ msgstr ""
2655+
2656+ msgid "This is currently equivalent to ``(unsigned long)-1``."
2657+ msgstr ""
2658+
2659+ msgid ""
2660+ "Start function *func* in a new thread with argument *arg*. The resulting "
2661+ "thread is not intended to be joined."
2662+ msgstr ""
2663+
2664+ msgid "*func* must not be ``NULL``, but *arg* may be ``NULL``."
2665+ msgstr ""
2666+
2667+ msgid ""
2668+ "On success, this function returns the identifier of the new thread; on "
2669+ "failure, this returns :c:macro:`PYTHREAD_INVALID_THREAD_ID`."
2670+ msgstr ""
2671+
2672+ msgid "Return the identifier of the current thread, which will never be zero."
2673+ msgstr ""
2674+
2675+ msgid ""
2676+ "This function cannot fail, and the caller does not need to hold the :term:"
2677+ "`GIL`."
2678+ msgstr ""
2679+
2680+ msgid ":py:func:`threading.get_ident`"
2681+ msgstr ""
2682+
2683+ msgid ""
2684+ "Get general information about the current thread in the form of a :ref:"
2685+ "`struct sequence <struct-sequence-objects>` object. This information is "
2686+ "accessible as :py:attr:`sys.thread_info` in Python."
2687+ msgstr ""
2688+
2689+ msgid ""
2690+ "On success, this returns a new :term:`strong reference` to the thread "
2691+ "information; on failure, this returns ``NULL`` with an exception set."
2692+ msgstr ""
2693+
2694+ msgid "This macro is defined when the system supports native thread IDs."
2695+ msgstr ""
2696+
2697+ msgid ""
2698+ "Get the native identifier of the current thread as it was assigned by the "
2699+ "operating system's kernel, which will never be less than zero."
2700+ msgstr ""
2701+
2702+ msgid ""
2703+ "This function is only available when :c:macro:`PY_HAVE_THREAD_NATIVE_ID` is "
2704+ "defined."
2705+ msgstr ""
2706+
2707+ msgid ":py:func:`threading.get_native_id`"
2708+ msgstr ""
2709+
2710+ msgid ""
2711+ "Terminate the current thread. This function is generally considered unsafe "
2712+ "and should be avoided. It is kept solely for backwards compatibility."
2713+ msgstr ""
2714+
2715+ msgid ""
2716+ "This function is only safe to call if all functions in the full call stack "
2717+ "are written to safely allow it."
2718+ msgstr ""
2719+
2720+ msgid ""
2721+ "If the current system uses POSIX threads (also known as \" pthreads\" ), this "
2722+ "calls :manpage:`pthread_exit(3)`, which attempts to unwind the stack and "
2723+ "call C++ destructors on some libc implementations. However, if a "
2724+ "``noexcept`` function is reached, it may terminate the process. Other "
2725+ "systems, such as macOS, do unwinding."
2726+ msgstr ""
2727+
2728+ msgid ""
2729+ "On Windows, this function calls ``_endthreadex()``, which kills the thread "
2730+ "without calling C++ destructors."
2731+ msgstr ""
2732+
2733+ msgid "In any case, there is a risk of corruption on the thread's stack."
2734+ msgstr ""
2735+
2736+ msgid ""
2737+ "Initialize ``PyThread*`` APIs. Python executes this function automatically, "
2738+ "so there's little need to call it from an extension module."
2739+ msgstr ""
2740+
2741+ msgid "Set the stack size of the current thread to *size* bytes."
2742+ msgstr ""
2743+
2744+ msgid ""
2745+ "This function returns ``0`` on success, ``-1`` if *size* is invalid, or "
2746+ "``-2`` if the system does not support changing the stack size. This function "
2747+ "does not set exceptions."
2748+ msgstr ""
2749+
2750+ msgid ""
2751+ "Return the stack size of the current thread in bytes, or ``0`` if the "
2752+ "system's default stack size is in use."
2753+ msgstr ""
2754+
25572755msgid "PyEval_InitThreads()"
25582756msgstr ""
25592757
0 commit comments