On Sun, May 6, 2012 at 10:39 AM, Xiaofan Chen <xiaof...@gmail.com> wrote:
> On Sun, May 6, 2012 at 7:35 AM, Pete Batard <p...@akeo.ie> wrote:
>> With BSD support becoming a headache, and no official
>> maintainer for the *BSD backends to help us out, along with
>> the need to go to bugfix release soon, I propose dropping
>> thread IDs for OpenBSD/NetBSD for the time being,
>> and just return -1 there.
>
> I think that is fair.
>
> I will forward this to the OpenBSD developer to see if he
> has some input.

As per Matin (the author of the OpenBSD backend), you can
use the getthrid() syscall that returns a pid_t. But he does
know if that works for NetBSD or not.
http://ftp.fr.openbsd.org/pub/OpenBSD/src/sys/sys/syscall.h

I searched NetBSD's syscall.h and it does not have
getthrid().
http://fxr.watson.org/fxr/source/sys/syscall.h?v=NETBSD

So I think for 1.0.11 release, it is okay just to leave out
OpenBSD/NetBSD. And Pete is right that NetBSD and
OpenBSD may need to diverge in the future.

-- 
Xiaofan

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to