On 2012-10-23 13:50, Peter Maydell wrote: > On 23 October 2012 12:48, Paolo Bonzini <pbonz...@redhat.com> wrote: >> Il 22/10/2012 19:13, Peter Maydell ha scritto: >>>>> Can't we enhance qemu-tls.h to work via pthread_setspecific in case >>>>> __thread is not working and use that abstraction (DECLARE/DEFINE_TLS) >>>>> directly? >>> Agreed. (There were prototype patches floating around for Win32 >>> at least). The only reason qemu-tls.h has the dummy not-actually-tls >>> code for non-linux is that IIRC we wanted to get the linux bits >>> in quickly before a release and we never got round to going back >>> and doing it properly for the other targets. >> >> Which will be "never" for OpenBSD. It just doesn't have enough support. >> >> Thread-wise OpenBSD is 100% crap, and we should stop supporting it IMHO >> until they finish their "new" thread library that's been in the works >> for 10 years or so. FreeBSD is totally ok. > > It doesn't support any kind of TLS? Wow.
It's probably more secure. Jan -- Siemens AG, Corporate Technology, CT RTC ITP SDP-DE Corporate Competence Center Embedded Linux