From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 7 Sep 2003 17:19:16 +0400 From: "Dmitry V. Levin" To: ALT Devel discussion list Subject: Re: [devel] IPC =?koi8-r?B?ySDTws/Sy8Eg?= =?koi8-r?B?zdXTz9LB?= Message-ID: <20030907131916.GB837@basalt.office.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20030907132023.G96874@elefant.dgtu.donetsk.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hQiwHBbRI9kgIhsi" Content-Disposition: inline In-Reply-To: <20030907132023.G96874@elefant.dgtu.donetsk.ua> X-fingerprint: 9658 398D 181B 1200 8FC5 26B8 F6F8 846B C1E2 3429 X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.2 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2003 13:19:17 -0000 Archived-At: List-Archive: List-Post: --hQiwHBbRI9kgIhsi Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit On Sun, Sep 07, 2003 at 01:31:35PM +0300, Denis Ovsienko wrote: [...] > Вот и всё, и не нужно говорить, что это не работает. Точно такое же Это не работает. Точнее говоря, приведённый тест не имеет никакого отношения к обсуждаемой задаче. Цитирую susv3/functions/semctl.html: IPC_RMID Remove the semaphore identifier specified by semid from the system and destroy the set of semaphores and semid_ds data structure associated with it. Цитирую susv3/functions/shmctl.html: IPC_RMID Remove the shared memory identifier specified by shmid from the system and destroy the shared memory segment and shmid_ds data structure associated with it. Цитирую susv3/functions/msgctl.html: IPC_RMID Remove the message queue identifier specified by msqid from the system and destroy the message queue and msqid_ds data structure associated with it. Короче говоря, IPC_RMID сразу уничтожает ресурс. Ни о какой уборке мусора не может быть и речи. Все остальные процессы, обращающиеся к этому ресурсу, получают (в лучшем случае) ошибку EIDRM. -- ldv --hQiwHBbRI9kgIhsi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/WzBU9viEa8HiNCkRAtm0AJ99smpFZT2G8be22k6FmxXA6Z7sqACfUWer 0qlOJNAbGa7+JL6KRqlQE6I= =amyq -----END PGP SIGNATURE----- --hQiwHBbRI9kgIhsi--