[ovs-dev] [threads 00/11] basic thread support library

Ed Maste emaste at freebsd.org
Wed Jun 19 21:20:11 UTC 2013


On 19 June 2013 16:17, Ben Pfaff <blp at nicira.com> wrote:
> This series has two purposes:
>
>     * Add a basic thread support library to the tree.
>
>     * Get rid of all calls to C library functions that POSIX describes
>       as inherently unsafe in a multithreaded program, and then add a
>       make-time check that flags an error if any calls get reintroduced.

This fails to build on FreeBSD for me, because it appears to rely on
header leakage for stdint.h types.

In file included from lib/ovs-atomic.h:237,
                 from lib/ovs-thread.h:23,
                 from lib/command-line.c:22:
lib/ovs-atomic-c11.h:26: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'uint8_t'



More information about the dev mailing list