qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [6414] Rename sigev_signo to avoid FreeBSD problems (Juerge


From: Blue Swirl
Subject: [Qemu-devel] [6414] Rename sigev_signo to avoid FreeBSD problems (Juergen Lock)
Date: Sat, 24 Jan 2009 11:54:21 +0000

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 */






reply via email to

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