projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93127e0
)
winpr-thread: added an assertion to enforce that thread_list is correctly set
author
Emmanuel Ledoux
<eledoux@hp.com>
Tue, 26 May 2015 15:55:27 +0000
(17:55 +0200)
committer
eledoux
<eledoux@hp.com>
Tue, 26 May 2015 15:55:27 +0000
(17:55 +0200)
winpr/libwinpr/thread/thread.c
patch
|
blob
|
history
diff --git
a/winpr/libwinpr/thread/thread.c
b/winpr/libwinpr/thread/thread.c
index
f6a85c8
..
d0aaeec
100644
(file)
--- a/
winpr/libwinpr/thread/thread.c
+++ b/
winpr/libwinpr/thread/thread.c
@@
-349,7
+349,8
@@
static BOOL winpr_StartThread(WINPR_THREAD *thread)
WLog_ERR(TAG, "failed to launch the thread");
goto error;
}
-
+ assert(ListDictionary_Contains(thread_list, &thread->thread));
+
pthread_attr_destroy(&attr);
dump_thread(thread);
return TRUE;