lkml.org 
[lkml]   [1999]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: async io?
Date
> The 2.2 kernel can generate aio-like realtime signals upon I/O
> completion (see http://www.kegel.com/c10k.html);
> you associate a signal to an fd using the F_SETSIG ioctl.

glibc 2.1 supports the posix aio_ stuff too

> However, you don't have the ability to specify one signal
> for one I/O operation, and a different signal for the next,
> I think. And that means you can't tell what the signal
> means, i.e. whether the socket is now ready for reading,
> or for writing. I hope I'm wrong about this.

You don't need to. Real time signals carry data - in this case the file
handle



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.084 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site