|
|
|
|
|
Funciones de gestión de subprocesos
Nota: Estas funciones también están disponibles en la sintaxis con prefijo ( Funciones de gestión de subprocesos (sintaxis con prefijo)). Las siguientes funciones permiten gestionar subprocesos:
| | CriticalSection | Activates a named critical section or variable in a USE ... IN instruction. | CriticalSectionEnd | Marks the end of a critical section: another thread will be able to run the code. | CriticalSectionStart | Marks the beginning of a critical section: no other thread will be able to run the code as long as the current thread does not exit from the critical section. | EventChange | Modifies the status of an event. | EventClose | Closes a synchronization event between several threads. | EventCreate | Creates an event. | EventDestroy | Explicitly destroys an event. | EventOpen | Opens a synchronization event between several threads. | EventWait | Bloquea el hilo actual mientras espera a que se abra el evento especificado. | ExecuteMainThread | Desencadena la ejecución del procedimiento especificado en el subproceso principal de la aplicación. | ExecuteMainThreadAsynchronous | Ejecuta un procedimiento en el subproceso principal de la aplicación sin esperar a que termine de ejecutarse. | MutexCreate | Crea explícitamente un mutex. | MutexDestroy | Destruye explícitamente un mutex. | MutexEnd | Señala que el hilo libera el mutex. | MutexStart | Bloquea el subproceso actual a la espera de que se libere el mutex. | SemaphoreCreate | Creates a semaphore. | SemaphoreDestroy | Explicitly destroys a semaphore. | SemaphoreEnd | Allows one or more threads to exit from the area protected by the semaphore. | SemaphoreStart | Locks the current thread until the semaphore is opened (which means until a "free" spot becomes available in the protected section). | ThreadCurrent | Devuelve el nombre del hilo que se está ejecutando actualmente. | ThreadEnd | Finaliza la ejecución del subproceso actual. | ThreadExecute | Starts the execution of a secondary thread. | ThreadMode | Changes the management mode of threads. | ThreadPause | Pauses the current thread during the specified duration. | ThreadPersistent | Hace que un subproceso sea persistente. | ThreadPriority | Devuelve o modifica el nivel de prioridad de un hilo. | ThreadRequestStop | Envía una solicitud para detener un subproceso. | ThreadResume | Resumes the execution of a thread that was interrupted by ThreadSuspend. Function not recommended. | ThreadSendSignal | The current thread sends a signal to the specified thread in order to unlock it. | ThreadState | Devuelve el estado actual de un hilo. | ThreadStop | Detiene un subproceso secundario. Función no recomendada. | ThreadStopRequested | Verifica si se ha enviado una solicitud al hilo que se está ejecutando. | ThreadSuspend | Temporarily suspends the execution of the specified thread. Function not recommended. | ThreadWait | Espera a que finalice la ejecución del subproceso especificado. | ThreadWaitSignal | Locks the current thread until it receives a signal from another thread. | También se pueden utilizar los siguientes tipos de variables:
| | AutomaticEvent | The AutomaticEvent type is used to manage an automatic event. | ManualEvent | The ManualEvent type is used to manage a manual event. |
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|