On 2012.05.07 15:47, Pete Batard wrote: > On 2012.05.07 14:40, Xiaofan Chen wrote: >> As per Matin (the author of the OpenBSD backend), you can >> use the getthrid() syscall that returns a pid_t. > > Great. I'll give it a try and if it works, add it for the release.
Seems to require linking against rthread and possibly some kernel options that may not be enabled. I can't seem to find a linkable version of getthrid() on the system I have, and issuing a syscall with SYS_getthrid, which is defined in syscall.h, always returns -1... Regards, /Pete ------------------------------------------------------------------------------ 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