[FFmpeg-devel] [PATCH] lavu/thread: add support for setting thread name on *bsd and solaris

Michael Niedermayer michael at niedermayer.cc
Sat Jan 6 19:27:34 EET 2024


On Wed, Jan 03, 2024 at 11:19:56PM -0500, Brad Smith wrote:
> lavu/thread: add support for setting thread name on *bsd and solaris
> 
> FreeBSD/DragonFly/Solaris use pthread_setname_np(). OpenBSD uses pthread_set_name_np().
> 
> Signed-off-by: Brad Smith <brad at comstyle.com>
> ---
>  configure          | 10 ++++++++++
>  libavutil/thread.h | 14 ++++++++++++--
>  2 files changed, 22 insertions(+), 2 deletions(-)

this breaks build on linux

 ./configure --enable-pthreads
ERROR: pthreads requested but not found

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Whats the most studid thing your enemy could do ? Blow himself up
Whats the most studid thing you could do ? Give up your rights and
freedom because your enemy blew himself up.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240106/4a7e9716/attachment.sig>


More information about the ffmpeg-devel mailing list