[ovs-dev] [RFC] bfd: Replace bfd.{c, h} with generic implementation.
Ben Pfaff
blp at nicira.com
Tue Mar 4 01:49:14 UTC 2014
On Mon, Mar 03, 2014 at 05:46:41PM -0800, Alex Wang wrote:
> This commit replaces the current bfd.{c,h} with a generic library-like
> implementation. Wrappers (in bfd_ts.{c,h}) are then added to guarantee
> the thread-safety and compatibility with current invocation pattern.
>
> Signed-off-by: Alex Wang <alexw at nicira.com>
...
> diff --git a/build-aux/thread-safety-blacklist b/build-aux/thread-safety-blacklist
> index 42560df..4db5a84 100644
> --- a/build-aux/thread-safety-blacklist
> +++ b/build-aux/thread-safety-blacklist
> @@ -70,7 +70,6 @@
> \bputchar_unlocked(
> \bputenv(
> \bpututxline(
> -\brand(
> \bsetenv(
> \bsetgrent(
> \bsetkey(
Why are we removing this? rand() really isn't thread-safe.
More information about the dev
mailing list