Code Review
/
ric-plt
/
dbaas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Free resources when 'nget.noatomic' thread terminates
[ric-plt/dbaas.git]
/
redismodule
/
tst
/
mock
/
include
/
commonStub.h
diff --git
a/redismodule/tst/mock/include/commonStub.h
b/redismodule/tst/mock/include/commonStub.h
index
dc87fa7
..
e57de1b
100644
(file)
--- a/
redismodule/tst/mock/include/commonStub.h
+++ b/
redismodule/tst/mock/include/commonStub.h
@@
-25,8
+25,13
@@
#include <pthread.h>
+#define UT_DUMMY_THREAD_ID 1234
+
int pthread_create(pthread_t *thread, const pthread_attr_t *attr,
void *(*start_routine) (void *), void *arg);
+int pthread_detach(pthread_t thread);
+
+pthread_t pthread_self(void);
#endif