diff libfreeDiameter/init.c @ 454:f1484823cb4a

Small hack which might spear some concurrency problems and is quite harmless
author Sebastien Decugis <sdecugis@nict.go.jp>
date Thu, 29 Jul 2010 16:11:12 +0900
parents 5df55136361b
children
line wrap: on
line diff
--- a/libfreeDiameter/init.c	Thu Jul 29 15:32:08 2010 +0900
+++ b/libfreeDiameter/init.c	Thu Jul 29 16:11:12 2010 +0900
@@ -35,6 +35,9 @@
 
 #include "libfD.h"
 
+/* Only for CPU cache flush */
+pthread_mutex_t fd_cpu_mtx_dummy = PTHREAD_MUTEX_INITIALIZER;
+
 /* Initialize library variables and threads */
 int fd_lib_init(int support_signals)
 {
"Welcome to our mercurial repository"