commit | 6d47fa1bc52562f673c30e5fd36f8ae44ed102e8 | [log] [tgz] |
---|---|---|
author | Pete Batard <pete@akeo.ie> | Tue May 08 12:10:59 2012 +0100 |
committer | Pete Batard <pete@akeo.ie> | Tue May 08 12:10:59 2012 +0100 |
tree | 862e02d57dbe49edb18a07d52109fa3a56d1efbd | |
parent | 00d6fed8f26418b00ab9177d67d53af7328ec127 [diff] |
BSD: Add thread ID support for OpenBSD > 5.1 * Uses syscall(SYS_getthrid) which requires real thread support, currently only available in 5.1-current (but not 5.1-release). For OpenBSD <= 5.1, -1 will be returned for the thread ID.