bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: notation for documenting multithread-safety


From: Bruno Haible
Subject: Re: notation for documenting multithread-safety
Date: Sun, 01 Dec 2019 08:52:17 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-166-generic; KDE/5.18.0; x86_64; ; )

Hi Ben,

> Details:
> https://clang.llvm.org/docs/ThreadSafetyAnalysis.html

Thank you very much for the pointer!

This convinces me to use a macro that may expand into __attribute__(...)
annotations at some point, rather than a comment.

There is also the 'race' annotation in the glibc manual, discussed in
https://sourceware.org/bugzilla/show_bug.cgi?id=25158

Regarding the POSIX functions, there's also a blog post by Simon:
https://blog.josefsson.org/2009/06/23/thread-safe-functions/

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]