A thread interruption function in a multi-threaded runtime environment places a first thread in an alertable blocked state that is interrupted by another thread upon request. The interrupting thread causes an asynchronous procedure call (APC) to be queued against the blocked thread. A callback procedure associated with the APC is executed in a context of the blocked thread and an indicator is stored in the context of the blocked thread. The indicator is captured by runtime environment exception handing which causes the blocked thread to be activated.

Una función de la interrupción del hilo de rosca en un ambiente runtime multi-roscado coloca un primer hilo de rosca en un estado bloqueado alertable que sea interrumpido por otro hilo de rosca por requerimiento. El hilo de rosca de interrupción hace una llamada asincrónica del procedimiento (APC) ser hecho cola contra el hilo de rosca bloqueado. Un procedimiento de servicio repetido asociado al APC se ejecuta en un contexto del hilo de rosca bloqueado y un indicador se almacena en el contexto del hilo de rosca bloqueado. El indicador es capturado por dar runtime de la excepción del ambiente que haga el hilo de rosca bloqueado ser activado.

 
Web www.patentalert.com

< (none)

< Methods for performing client-hosted application sessions in distributed processing systems

> Robust modification of persistent objects while preserving formatting and other attributes

> (none)

~ 00070