diff options
author | Ben Pfaff <blp@nicira.com> | 2013-08-06 14:30:01 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-08-08 13:18:10 -0700 |
commit | 9c4c45edc36b88bcb2956140965dbde9224ff967 (patch) | |
tree | 71d6ada888d3e3aaebbce561659b7b84872f0142 /lib/ovs-thread.c | |
parent | ada3a58d1f81491b435d2b350a88d68318edd4ac (diff) |
ovs-thread: New function xpthread_setspecific().
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/ovs-thread.c')
-rw-r--r-- | lib/ovs-thread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ovs-thread.c b/lib/ovs-thread.c index 4d64b928..d0ec9ec6 100644 --- a/lib/ovs-thread.c +++ b/lib/ovs-thread.c @@ -128,6 +128,7 @@ XPTHREAD_FUNC1(pthread_cond_broadcast, pthread_cond_t *); typedef void destructor_func(void *); XPTHREAD_FUNC2(pthread_key_create, pthread_key_t *, destructor_func *); +XPTHREAD_FUNC2(pthread_setspecific, pthread_key_t, const void *); void ovs_mutex_init(const struct ovs_mutex *l_, int type) |