Modification de cpp/thread/recursive timed mutex(section).
Soporte para la herencia de prioridad y para los mutex de protección de prioridad.
Support for priority inheriting and priority protecting mutexes.
El sistema de cola BPN se ha implementado,utilizando los bloques Mutex.
The BPN queue system has been implemented,using the Mutex blocks.
C++11 nos proporciona una clase mutex, que nos abstrae de cosas que no son lock/unclock.
C++11 provides mutex class, we just lock/unclock the object.
Este programa fue desarrollado originariamente por Mutex Developments.
The actual developer of the program is Mutex Developments.
Puede manipular el accept mutex con la directiva AcceptMutex en 2.2. x.
You can manipulate the accept mutex with the AcceptMutex directive.
Complete estos pasos para verificar la configuración del bloqueo del mutex en el DB.
Complete these steps in order to verify the Mutex lock setting on the DB.
Como ya se notó arriba, la técnica MutEx exige bastante paciencia y esmero.
As noted above, the MutEx technique requires plenty of patience and thoroughness.
Para obtener acceso exclusivo a un recurso,se debe utilizar el método WaitOne del Mutex.
In order to obtain exclusive access to a resource,you have to use the WaitOne method of the Mutex.
Las funciones accept_mutex_on y accept_mutex_off implementan un semáforo de exclusión mutua.
The functions accept_mutex_on and accept_mutex_off implement a mutual exclusion semaphore.
La mayoría de sistemas operativos(incluyendo Solaris, Mac OS X y FreeBSD)utiliza una aproximación híbrida llamó"adaptive mutex.
Most operating systems(including Solaris, Mac OS X and FreeBSD)use a hybrid approach called"adaptive mutex.
Con el botón Mutex, creamos el objeto Mutex global y lanzamos la aplicación de consola para que genere la imagen mediante la clase Process.
With the Mutex button, the global Mutex object is created, and then the console application is launched to generate the image, using again the Process class.
Descripción e implementación de mecanismos de exclusión mutua en el acceso a memoria compartida, en concreto,test and set, mutex y semáforos.
Description and implementation of mechanisms for mutual exclusion to access shared memory, in particular,test and set, mutex and semaphores.
Sin las restricciones adecuadas(como por ejemplo con un mutex), el código que usa variables globales no será a prueba de hilos excepto para los valores de sólo lectura en la memoria protegida.
Without proper locking(such as with a mutex), code using global variables will not be thread-safe except for read only values in protected memory.
Todas las sucesivas llamadas de otras tareas oprocesos tendrán como resultado el bloqueo hasta que la primera libere el Mutex con el método ReleaseMutex.
All successive calls to this method from other tasks orprocesses will result in blocking them until the first one releases the Mutex with the ReleaseMutex method.
Para confirmar nuestras sospechas vamos a buscar el mutex característico de Zeus, que suele tener como nombre_AVIRA_ seguido de un número, tradicionalmente 2101, 2110, 2108, 2109 o 21099.
To confirm our suspicions, let's search for the mutex that is characteristic of Zeus, usually named_AVIRA_ followed by a number, typically 2101, 2110, 2108, 2109 or 21099.
Para mantener el modelo, los compiladores pueden reordenar algunas instrucciones de memoria, ylas llamadas a las bibliotecas como pthread_mutex_lock(), encapsular la sincronización necesaria.
To hold to the contract, compilers may reorder some memory instructions, andlibrary calls such as pthread_mutex_lock() encapsulate required synchronization.
En la aplicación MutexExample, lo primero que hacemos es obtener el Mutex global con la función estática OpenExisting, obtenemos acceso exclusivo con WaitOne y generamos la imagen.
In the MutexExample application, the first thing to do is to obtain the global Mutex using the OpenExisting static method, then acquire exclusive access with WaitOne and then generate the image.
Es importante señalar que con una buen Factory Method(patrón de diseño), se habría logrado el objetivode una interfaz genérica, que habría requerido de los cuatro tipos fundamentales(hilos, mutex, barreras y condiciones) en la pila.
It is of importance to note that while a factory pattern design could have been used to achieve the goal of generic interface,it would have required the programmer to allocate each of the 4 fundamental types(Thread, Mutex, Barrier,& Condition) on the heap.
Por ejemplo, una función podría ser envuelto por todas partes con un mutex(que evita problemas en entornos multiproceso), pero si esa función se usa en una rutina de servicio de interrupción, podría morir de hambre a la espera de la primera ejecución para liberar el mutex.
For example, a function could be wrapped all around with a mutex(which avoids problems in multithreading environments), but, if that function were used in an interrupt service routine, it could starve waiting for the first execution to release the mutex.
Su funcionamiento es similar al de la instrucción lock oal de la clase Monitor si se usa dentro de la misma aplicación, pero el Mutex también puede tener nivel global y ser visible para todas las aplicaciones, si se crea proporcionando un nombre en forma de cadena de texto en el constructor.
Its operation is similar to that of the lock statement orthe Monitor class if it is used within the same application, but the Mutex can also be created with a global level, so that it can be shared with other applications, if you give it a name using some of the versions of the constructor.
Español
Dansk
Deutsch
Français
हिंदी
Italiano
Nederlands
Português
Русский
Tagalog
عربى
Български
বাংলা
Český
Ελληνικά
Suomi
עִברִית
Hrvatski
Magyar
Bahasa indonesia
日本語
Қазақ
한국어
മലയാളം
मराठी
Bahasa malay
Norsk
Polski
Română
Slovenský
Slovenski
Српски
Svenska
தமிழ்
తెలుగు
ไทย
Turkce
Українська
اردو
Tiếng việt
中文