CI: basic-simulator --> seg fault core dumps are recovered and part of artifacts

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
Raphael Defosseux
2018-09-19 11:55:43 +02:00
parent bf961a4268
commit 7d602d5cc2
3 changed files with 55 additions and 19 deletions
+5 -1
View File
@@ -991,7 +991,11 @@ static inline void wait_sync(char *thread_name) {
pthread_mutex_unlock(&sync_mutex);
printf( "got sync (%s)\n", thread_name);
/*
* Raphael Defosseux: added for CI to get faster the got sync message.
*/
fflush(stdout);
fflush(stderr);
}
static inline int wakeup_thread(pthread_mutex_t *mutex,pthread_cond_t *cond,int *instance_cnt,char *name) {