Re: Using Select() for both sockets and Queues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 23, 2002 at 01:19:15PM -0700, Monear Jalal wrote:
> Its a System V queue. Hoe would i go about converting
> a System V queue to look like a socket. I would like
> to stick with select() and make a the queue somehow
> look like a file descriptor.

No, I meant use socket the way you use queue. It is however only
possible if you don't make extensive use of the msgtype feature.

> You are rigth i could service the queue under a
> thread, however it would be elegant to have select do
> this.

I fear select can't do this. The SysV ipc is unfortunately too much broken
interface.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux