* [Qemu-devel] [6414] Rename sigev_signo to avoid FreeBSD problems (Juergen Lock)
@ 2009-01-24 11:54 Blue Swirl
0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2009-01-24 11:54 UTC (permalink / raw)
To: qemu-devel
Revision: 6414
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6414
Author: blueswir1
Date: 2009-01-24 11:54:21 +0000 (Sat, 24 Jan 2009)
Log Message:
-----------
Rename sigev_signo to avoid FreeBSD problems (Juergen Lock)
Modified Paths:
--------------
trunk/block-raw-posix.c
trunk/posix-aio-compat.c
trunk/posix-aio-compat.h
Modified: trunk/block-raw-posix.c
===================================================================
--- trunk/block-raw-posix.c 2009-01-23 19:56:19 UTC (rev 6413)
+++ trunk/block-raw-posix.c 2009-01-24 11:54:21 UTC (rev 6414)
@@ -579,7 +579,7 @@
if (!acb)
return NULL;
acb->aiocb.aio_fildes = s->fd;
- acb->aiocb.sigev_signo = SIGUSR2;
+ acb->aiocb.ev_signo = SIGUSR2;
acb->aiocb.aio_buf = buf;
if (nb_sectors < 0)
acb->aiocb.aio_nbytes = -nb_sectors;
Modified: trunk/posix-aio-compat.c
===================================================================
--- trunk/posix-aio-compat.c 2009-01-23 19:56:19 UTC (rev 6413)
+++ trunk/posix-aio-compat.c 2009-01-24 11:54:21 UTC (rev 6414)
@@ -94,7 +94,7 @@
idle_threads++;
pthread_mutex_unlock(&lock);
- kill(getpid(), aiocb->sigev_signo);
+ kill(getpid(), aiocb->ev_signo);
}
idle_threads--;
Modified: trunk/posix-aio-compat.h
===================================================================
--- trunk/posix-aio-compat.h 2009-01-23 19:56:19 UTC (rev 6413)
+++ trunk/posix-aio-compat.h 2009-01-24 11:54:21 UTC (rev 6414)
@@ -29,7 +29,7 @@
int aio_fildes;
void *aio_buf;
size_t aio_nbytes;
- int sigev_signo;
+ int ev_signo;
off_t aio_offset;
/* private */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-24 11:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-24 11:54 [Qemu-devel] [6414] Rename sigev_signo to avoid FreeBSD problems (Juergen Lock) Blue Swirl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).