Skip to content
Snippets Groups Projects
Commit cc374c00 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

locking

parent b2510281
No related branches found
No related tags found
No related merge requests found
// $Id: OpenFile.cpp,v 1.16 2001-05-22 08:30:26 geuzaine Exp $
// $Id: OpenFile.cpp,v 1.17 2001-05-29 13:49:32 geuzaine Exp $
#include "Gmsh.h"
#include "Const.h"
#include "Context.h"
......@@ -93,7 +93,8 @@ void OpenProblem(char *name){
Msg(INFO, "I'm busy! Ask me that later...");
return;
}
CTX.threads_lock = 1;
InitSymbols();
Init_Mesh(&M, 1);
......@@ -131,6 +132,8 @@ void OpenProblem(char *name){
ApplyLcFactor(THEM);
CTX.threads_lock = 0;
if(!status){
mai3d(THEM,0);
Maillage_Dimension_0(&M);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment