From owner-freebsd-hackers Wed Aug 14 0:33:55 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6111A37B400 for ; Wed, 14 Aug 2002 00:33:53 -0700 (PDT) Received: from web21109.mail.yahoo.com (web21109.mail.yahoo.com [216.136.227.111]) by mx1.FreeBSD.org (Postfix) with SMTP id 16E9043E6A for ; Wed, 14 Aug 2002 00:33:53 -0700 (PDT) (envelope-from hitmaster2k@yahoo.com) Message-ID: <20020814073352.47515.qmail@web21109.mail.yahoo.com> Received: from [62.254.0.5] by web21109.mail.yahoo.com via HTTP; Wed, 14 Aug 2002 00:33:52 PDT Date: Wed, 14 Aug 2002 00:33:52 -0700 (PDT) From: Hiten Pandya Reply-To: hiten@uk.FreeBSD.org Subject: Re: SysV IPC related question To: Terry Lambert Cc: freebsd-hackers@FreeBSD.org In-Reply-To: <3D599D77.C1657E75@mindspring.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- Terry Lambert wrote: > I don't know why NetBSD doesn't have this. Perhaps they are > unconcerned with the portability of code using SYSV message > queues, when it comes to internal structure packing. > > I would think directly casting it to a long in the kernel would > be a bad thing on Alpha, with certain source code in user space. > > I expect that they define it for the regression test so that > they can actually do regression on these cases. I was going on about: basesrc/regress/sys/kern/sysvmsg > > Also, if possible, could you outline some situations where this would be > > used? Help will be very appreicated. > > It's because if you don't ask for a specific meswsage type (e.g. > it is important for you to get messages in the order they were > sent), then you can't control which message will be returned in > your message buffer passed to msgrcv(2). > [ ... ] Thank you for the information. Very appreciated, as always. 8-) -- Hiten __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message