Приклади вживання
The critical section
Англійська мовою та їх переклад на Українською
{-}
Colloquial
Ecclesiastic
Computer
Enter the critical section.
І вийти- ми ввійшли у критичну секцію.
This particular piece of code is called the critical section.
Ця специфічна проблема називається задачею критичної секції.
Stress calculation in the critical section of the bending beam.
Визначення напружень в критичному перерізі балки, яка працює на згин.
(The use of busy waiting suggests thatprocesses should spend a minimum of time inside the critical section.).
(Використання стану очікування означає,що процес має знаходитися якнайменше часу всередині критичної секції.).
We are done, release the critical section:.
І вийти- ми ввійшли у критичну секцію.
Since mutual exclusion is implicit with monitors,no extra effort is necessary to protect the critical section.
Через прихованість взаємного виключення в випадку використання моніторів,додаткові зусилля для захисту критичної секції не потрібні.
Then, before entering the critical section.
Але, перш ніж перейти до критичного розгляду змістовної частини.
The critical section is that part of code that requires exclusive access to resources and may only be executed by one thread at a time.
Критична секція являє собою ту частину коду, яка вимагає виняткового доступу до ресурсів і може виконуватися тільки одним потоком одночасно.
As a result, two processes can enter the critical section at the same time.
В результаті, два процеси можуть увійти в критичний сектор одночасно.
The last process to leave the critical section closes the exit door and reopens the entry door, so the next batch of processes may enter.
Останній процес виходу з критичної секції закриває двері виходу та знову відкриває вхідні двері, тому наступна партія процесів може увійти.
Note that as in the original paper, the thread checks itself before entering the critical section.
Зверніть увагу, що, як і в оригінальній статті, сама нитка перевіряється перед входом в критичну секцію.
Processes indicate an intention to enter the critical section which is tested by the outer while loop.
Процеси показують намір увійти до критичної секції, що перевіряється у зовнішньому циклі.
A lower value of i means a higher priority andthreads with higher priority will enter the critical section first.
Менше значення I означає більш високий пріоритет,і потоки з більш високим пріоритетом будуть входити в критичну секцію перші.
When a thread wants to enter the critical section, it has to check whether now is its turn to do so.
Коли потік хоче увійти в критичну секцію, він повинен перевірити, чи є в даний час його черга зробити це.
In case another thread has the same number, the thread with the smallest i will enter the critical section first.
У разі, якщо інший потік має таке ж число, потік з найменшим увійде в критичну секціюв першу чергу.
The processes then enter the critical section one by one(or in larger groups if the critical section permits this).
Потім процеси поступають в критичний розділ по одному(або в більші групи, якщо критичний розділ це дозволяє).
If the higher-priority process was preempted before setting Number, the low-priority process will see that the other process has a number of zero,and enters the critical section; later, the high-priority process will ignore equal Number for lower-priority processes, and also enters the critical section.
Якщо процес з більш високим пріоритетом був витіснений перед встановленнямNumber, процес з низьким пріоритетом буде бачити, що інший процес має значення нуля,і увійде в критичний сектор; пізніше, процес з високим пріоритетом буде ігнорувати рівній Number для більш низького пріоритету процесів, а також увійде в критичний сектор.
Entrance to the critical section is granted for process P0 if P1 does not want to enter its critical section or if P1 has given priority to P0 by setting turn to 0.
Вхід до критичної секції надається процесу P0, якщо P1 не намагається увійти до своєї критичної секції або P1 надав пріоритет P0 встановленням turn в 0.
Time estimation for operation generic lock of the critical section,"sin(Pi)" and"pow(Pi, 2)", into second, third and forth columns.
Оцінка часу обчислення операцій загального блокування критичної секції,"sin(Pi)" та"pow(Pi, 2)", у другому, третьому та четвертому стовпчиках.
If one process is already in the critical section, the other process will busy wait for the first process to exit.
Якщо один з процесів знаходиться в критичній секції, другий буде в стані очікування доки перший процес не залишить критичну секцію..
The important feature of the system is that,when one process is executing in the critical section, no other processes to be allowed to a execute in its critical section..
Для вирішення завдання необхідно, щоб у тому випадку,коли процес знаходиться в своїй критичній ділянці, інші процеси не могли увійти до своїх критичних ділянок..
All processes which request entry into the critical section at roughly the same time enter the waiting room;the last of them closes the entry door and opens the exit door.
Усі процеси, які вимагають входу в критичну секцію приблизно в один і той же час, входять у зал очікування; останній із них закриває вхідні двері та відкриває вихідні двері.
The working of ABQL can be depicted in the table below byassuming 4 processors contending to enter the critical section with the assumption that a thread enters the critical section only once.
Робота ABQL може бути зображена у таблиці нижче, припускаючи,що 4 процесори сперечаються за вхід у критичну секцію з припущенням, що потік входить у цю критичну секцію лише один раз.
Enter to procedure on the language JavaLikeCalc means also enter to the critical section and request to read of the RW lock thenthe time mostly show performance of the operation.
Вхід до процедури на мові JavaLikeCalc також означає вхід до критичної секції та запит на читання RW замку відтак цей час переважно відображає продуктивність цієї операції.
The thread holding the lock is free to execute its critical section(the section of a program that requires exclusive access to some variable), and to unlock the data when it is finished.
Нить що створила замок може вільно виконувати свою критичну секцію(секцію програми що вимагає ексклюзивного доступу до певної змінної), і розблокувати дані коли секція закінчиться.
Finished critical section.
Кінець критичної секції.
Critical section.
Критичний сектор.
Location of critical section.
Поняття критичної секції.
Processes with priority will break from the while loop and enter their critical section.
Процеси, чия черга надійшла, виходять з циклу while і входять до своєї критичної секції.
English
عربى
Български
বাংলা
Český
Dansk
Deutsch
Ελληνικά
Español
Suomi
Français
עִברִית
हिंदी
Hrvatski
Magyar
Bahasa indonesia
Italiano
日本語
Қазақ
한국어
മലയാളം
मराठी
Bahasa malay
Nederlands
Norsk
Polski
Português
Română
Русский
Slovenský
Slovenski
Српски
Svenska
தமிழ்
తెలుగు
ไทย
Tagalog
Turkce
اردو
Tiếng việt
中文