Makefile: Blacklist functions that threaded programs cannot use safely.
authorBen Pfaff <blp@nicira.com>
Fri, 5 Apr 2013 13:58:57 +0000 (08:58 -0500)
committerBen Pfaff <blp@nicira.com>
Fri, 28 Jun 2013 23:09:39 +0000 (16:09 -0700)
commit6a3e30f3e728e4a9692e03514f061aa341d62ebf
tree73bb640fcd39699aeebe684fe6ea591e7dbcf4dc
parentb028db44ca684fbd5361001dc3ed543a37374fbb
Makefile: Blacklist functions that threaded programs cannot use safely.

Some functions that POSIX says cannot be used safely in multithreaded
programs are not on the initial blacklist:

    - getenv() should be safe in real implementations in the absence of
      changes to the environment.  (putenv() and setenv() are blacklisted.)

    - We only use getopt() before spawning extra threads, and I expect this
      to continue to be true.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Makefile.am
build-aux/thread-safety-blacklist [new file with mode: 0644]