전문 번역가, 번역 회사, 웹 페이지 및 자유롭게 사용할 수 있는 번역 저장소 등을 활용합니다.
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.
마지막 업데이트: 2011-10-24
사용 빈도: 1
품질:
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).
마지막 업데이트: 2018-02-13
사용 빈도: 1
품질:
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.
마지막 업데이트: 2018-02-13
사용 빈도: 1
품질:
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.
마지막 업데이트: 2011-10-24
사용 빈도: 1
품질:
?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);?
마지막 업데이트: 2011-10-24
사용 빈도: 1
품질:
경고: 보이지 않는 HTML 형식이 포함되어 있습니다
연관성이 낮은 일부 인적 번역은 숨겨져 있습니다.
연관성이 낮은 결과 표시.