AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de gestión de procesos / Funciones de área de memoria compartida
  • Mechanism for automatic notification of modifications
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Waits for the end of process about the notifications of modification of a shared memory area. This process is performed by the other applications that use the memory area and that have asked to be notified.
Ejemplo
// Opens the shared memory area
ZoneNum is int
ZoneNum = fMemOpen("DialogZone", 1024, shareGlobal)

// Writes an information
fWriteLine(ZoneNum, "IDAPP=" + ExeInfo(exeName))

// Waits for the other applications to process the writing notification
fMemWait(ZoneNum)
Sintaxis
<Result> = fMemWait(<Identifier of shared memory area> [, <Timeout>])
<Result>: Optional boolean
  • True if all applications that received a notification have processed it,
  • False if the timeout was exceeded.
<Identifier of shared memory area>: Integer
Identifier of shared memory area to use, defined by fMemOpen.
<Timeout>: Optional integer
Maximum timeout (in milliseconds). This parameter can correspond to:
  • an integer representing the number of milliseconds,
  • a Duration variable,
  • the duration in a readable format (e.g., '1s' or '10ms').
There is no timeout if this parameter is not specified.
Observaciones

Mechanism for automatic notification of modifications

A procedure for processing the notifications of modifications can be passed as parameter to fMemOpen. If this procedure was specified, it will be automatically called whenever the content of the shared memory area is modified.
By using fMemWait, an application that writes to a shared memory area can ensure that its change has been processed by other applications that use the memory area.
Note The Notification automation mechanism only works between WLanguage applications.
Componente: wd300std.dll
Versión mínima requerida
  • Versión 15
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local