git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ovs-thread: New function xpthread_setspecific().
[sliver-openvswitch.git]
/
lib
/
ovs-thread.c
diff --git
a/lib/ovs-thread.c
b/lib/ovs-thread.c
index
4d64b92
..
d0ec9ec
100644
(file)
--- 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)