PHP
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

shmop_delete> <Shared Memory Functions
Last updated: Fri, 26 Dec 2008

view this page in

shmop_close

(PHP 4 >= 4.0.4, PHP 5)

shmop_closeCierra un segmento de memoria compartida

Descripción

void shmop_close ( int $shmid )

shmop_close() se utiliza para cerrar un segmento de memoria compartida.

shmop_close() utiliza como parámetro el identificador del segmento de memoria compartida devuelto por la función shmop_open().

Example #1 Cierre de un segmento de memoria compartida

<?php
shmop_close
($shm_id);
?>

En el ejemplo anterior se cierra un segmento de memoria compartida cuyo identificador es $shm_id.



add a note add a note User Contributed Notes
shmop_close
slavapl at mailandnews dot com
02-May-2001 07:31
shmop_close doesn't delete the memory segment, it just detaches from it.

If you have created the block and need to delete it you must call shmop_delete **BEFORE** calling shmop_close (for reasons outlined in shmop_delete help page notes).

shmop_delete> <Shared Memory Functions
Last updated: Fri, 26 Dec 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites