A partir de tradutores profissionais, empresas, páginas da web e repositórios de traduções disponíveis gratuitamente
the functions will not work on windows, as it does not support shared memory.
as of windows 2000 though, enabling the php_shmop.dll in your php.ini will enable this functionality though.
Última atualização: 2011-10-24
Frequência de uso: 1
Qualidade:
la solución a este problema viene dada por un conjunto de primitivas de la librería estándar conocida como sysv ipc (system v interprocess communication).
the solution to this problem is given by a set of primitives of the standard library known as sysv ipc (system v interprocess communication).
Última atualização: 2018-02-13
Frequência de uso: 1
Qualidade:
en el siguiente artículo hablaremos acerca de las colas de mensajes, otra estructura para la comunicación entre procesos (interprocess communication) y sincronización.
in the next article we will speak about message queues, another structure for the interprocess communication and synchronisation.
Última atualização: 2018-02-13
Frequência de uso: 1
Qualidade:
shmop is an easy to use set of functions that allows php to read, write, create and delete unix shared memory segments.
these functions will not typically work on windows, as it does not support shared memory.
Última atualização: 2011-10-24
Frequência de uso: 1
Qualidade:
?php / / create 100 byte shared memory block with system id if 0xff3 $shm_id = shmop_open( 0xff3, "c", 0644, 100); if(!$shm_id) {echo "couldn't create shared memory segment\n";} / / get shared memory block's size $shm_size = shmop_size($shm_id); echo "shm block size: ".$shm_size. "has been created.\n"; / / lets write a test string into shared memory $shm_bytes_written = shmop_write($shm_id, "my shared memory block", 0); if($shm_bytes_written != strlen("my shared memory block")) {echo "couldn't write the entire length of data\n";} / / now lets read the string back $my_string = shmop_read($shm_id, 0, $shm_size); if(!$my_string) {echo "couldn't read from shared memory block\n";} echo "the data inside shared memory was: ".$my_string ."\n"; / /now lets delete the block and close the shared memory segment if(!shmop_delete($shm_id)) {echo "couldn't mark shared memory block for deletion.} shmop_close($shm_id);?
?php / / create 100 byte shared memory block with system id if 0xff3 $shm_id = shmop_open( 0xff3, "c", 0644, 100); if(!$shm_id) {echo "couldn't create shared memory segment\n";} / / get shared memory block's size $shm_size = shmop_size($shm_id); echo "shm block size: ".$shm_size. "has been created.\n"; / / lets write a test string into shared memory $shm_bytes_written = shmop_write($shm_id, "my shared memory block", 0); if($shm_bytes_written != strlen("my shared memory block")) {echo "couldn't write the entire length of data\n";} / / now lets read the string back $my_string = shmop_read($shm_id, 0, $shm_size); if(!$my_string) {echo "couldn't read from shared memory block\n";} echo "the data inside shared memory was: ".$my_string ."\n"; / /now lets delete the block and close the shared memory segment if(!shmop_delete($shm_id)) {echo "couldn't mark shared memory block for deletion .";} shmop_close($shm_id);?
Última atualização: 2011-10-24
Frequência de uso: 1
Qualidade:
Aviso: contém formatação HTML invisível
Algumas traduções humanas com pouca relevância foram ocultadas.
Mostrar resultados de pouca relevância.