Re: [PATCH 1/3] Add check for macOS, disable ucontext on macOS (deprecated)

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

 



On Fri, Apr 28, 2017 at 07:48:01AM -0400, Marc-André Lureau wrote:
> Hi
> 
> ----- Original Message -----
> > Subject: [PATCH 1/3] Add check for macOS, disable ucontext on macOS
> >  (deprecated)
> > 
> 
> It's also deprecated on Linux afaik, but it's still the preferred way in qemu too.
>
> An alternative would be to implement sigaltstack I suppose (available in qemu).

Until any OS actually remove ucontext, IMHO it is better to stick
with the ucontext impl as it is tried & tested and known to have
good performance. I certainly wouldn't recommend use of the
gthread impl as its performance is going to be worse & has very
little testing. 

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]