Från professionella översättare, företag, webbsidor och fritt tillgängliga översättningsdatabaser.
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.
Senast uppdaterad: 2011-10-24
Användningsfrekvens: 1
Kvalitet:
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).
Senast uppdaterad: 2018-02-13
Användningsfrekvens: 1
Kvalitet:
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.
Senast uppdaterad: 2018-02-13
Användningsfrekvens: 1
Kvalitet:
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.
Senast uppdaterad: 2011-10-24
Användningsfrekvens: 1
Kvalitet:
?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);?
Senast uppdaterad: 2011-10-24
Användningsfrekvens: 1
Kvalitet:
Varning: Innehåller osynlig HTML-formatering
Vissa mänskliga översättningar med låg relevans har dolts.
Visa resultat med låg relevans.