summaryrefslogtreecommitdiff
path: root/lib/command-line.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2013-06-19 11:21:47 -0700
committerBen Pfaff <blp@nicira.com>2013-06-28 16:09:36 -0700
commit1514b275558304c63bc3838c2da5c4be0c1cbef0 (patch)
treea460f9a18cf7ee9a4c70a99cf51676733d0c0720 /lib/command-line.c
parent31a3fc6e3e9ce68d8bfebf65150d9455b9334dda (diff)
downloadopenvswitch-1514b275558304c63bc3838c2da5c4be0c1cbef0.tar.gz
ovs-thread: Add support for convenient once-only initializers.
pthread_once() is portable but it does not allow passing any parameters to the initialization function, which is often inconvenient, because it means that the function can only access data declared at file scope. This commit introduces an alternative with a more convenient interface. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'lib/command-line.c')
0 files changed, 0 insertions, 0 deletions