qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] use SIGALRM for alarm timers, enable SIGIO on q


From: Jamie Lokier
Subject: Re: [Qemu-devel] [PATCH] use SIGALRM for alarm timers, enable SIGIO on qemu_set_fd_handler2()
Date: Sun, 13 Apr 2008 18:27:57 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Anders Melchiorsen wrote:
> -    sigaction(SIGIO, &act, NULL);
> +    sigaction(SIGALRM, &act, NULL);
>      fcntl(fd, F_SETFL, O_ASYNC);
> +    fcntl(fd, F_SETSIG, SIGALRM);
>      fcntl(fd, F_SETOWN, getpid());

F_SETSIG is specific to Linux.  Other host OSes don't have it.

-- Jamie




reply via email to

[Prev in Thread] Current Thread [Next in Thread]