Réalisées par des traducteurs professionnels, des entreprises, des pages web ou traductions disponibles gratuitement.
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.
Dernière mise à jour : 2011-10-24
Fréquence d'utilisation : 1
Qualité :
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).
Dernière mise à jour : 2018-02-13
Fréquence d'utilisation : 1
Qualité :
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.
Dernière mise à jour : 2018-02-13
Fréquence d'utilisation : 1
Qualité :
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.
Dernière mise à jour : 2011-10-24
Fréquence d'utilisation : 1
Qualité :
?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);?
Dernière mise à jour : 2011-10-24
Fréquence d'utilisation : 1
Qualité :
Avertissement : un formatage HTML invisible est présent
Certaines traductions humaines peu pertinentes ont été masquées.
Affichez les résultats peu pertinents.