mutex

[USA]/ˈmjuːtɛks/
[UK]/ˈmjuːtɛks/
Frekvens: Meget høj

Oversættelse

n.a mutual exclusion object used in programming to prevent simultaneous access to a shared resource
n. Et gensidigt udelukkelsesobjekt, der bruges i programmering til at forhindre samtidig adgang til en delt ressource.

Udtryk & Fast Sammenstilling

mutex lock

Danish_translation

holding mutex

Danish_translation

acquire mutex

Danish_translation

release mutex

Danish_translation

nested mutex

Danish_translation

mutex guard

Danish_translation

mutex state

Danish_translation

mutex contention

Danish_translation

using mutex

Danish_translation

mutex timeout

Danish_translation

Eksempelsætninger

the mutex prevents race conditions when multiple threads access shared data.

Mutexen forhindrer race conditions, når flere tråde får adgang til delte data.

acquire the mutex before modifying the critical section of code.

Anskaf mutexen, før du ændrer i den kritiske kodeafsnit.

release the mutex after you're finished with the protected resource.

Frigør mutexen, når du er færdig med den beskyttede ressource.

deadlock can occur if mutexes are not released properly.

Der kan opstå deadlocks, hvis mutexes ikke frigives korrekt.

use a recursive mutex if a thread might acquire it multiple times.

Brug en rekursiv mutex, hvis en tråd muligvis kan erhverve den flere gange.

the mutex ensures exclusive access to the printer queue.

Mutexen sikrer eksklusiv adgang til printerkøen.

implement a mutex to protect the global variable from concurrent access.

Implementer en mutex for at beskytte den globale variabel mod samtidig adgang.

check if the mutex is already held before attempting to acquire it.

Tjek om mutexen allerede er holdt, før du forsøger at erhverve den.

the mutex provides a simple mechanism for thread synchronization.

Mutexen giver en simpel mekanisme til trådsynkronisering.

avoid holding a mutex for an extended period to prevent blocking other threads.

Undgå at holde en mutex i en længere periode for at forhindre blokering af andre tråde.

the application uses a mutex to serialize access to the database connection.

Applikationen bruger en mutex til at serialisere adgangen til databaseforbindelsen.

Populære Ord

Udforsk ofte søgte ordforråd

Download appen for at låse op for alt indhold

Vil du lære ordforråd mere effektivt? Download DictoGo-appen og få glæde af flere funktioner til at huske og gennemgå ordforråd!

Download DictoGo nu