9289343def
Commit log: https://github.com/sahlberg/libiscsi/compare/1.20.1...1.20.2 - Add libthr search to configure.ac. - Add STRIP_CMD as suggested by poudriere testport. - Refresh patches. - Bump consumers (emulators/qemu and emulators/qemu8) in next commmit because the soname is bumped. PR: 286546 Co-authored-by: vvd
12 lines
350 B
C
12 lines
350 B
C
--- lib/multithreading.c.orig 2025-05-03 00:02:42 UTC
|
|
+++ lib/multithreading.c
|
|
@@ -154,6 +154,8 @@ iscsi_tid_t iscsi_mt_get_tid(void)
|
|
#elif defined(SYS_gettid)
|
|
pid_t tid = syscall(SYS_gettid);
|
|
return tid;
|
|
+#elif defined(__FreeBSD__)
|
|
+ return pthread_getthreadid_np();
|
|
#else
|
|
#error "SYS_gettid unavailable on this system"
|
|
#endif
|