yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #03939
Re: How to use a plugin
Oh, yes my gcc is 4.1 and g++ 4.3 , which are both < 4.4, as required by my plugin Sorry, I am confused about parallel execution and parallelism. Currently, my mutex has also two lines:
> boost::mutex globalMutex;
> boost::mutex::scoped_lock lock(globalMutex);Is it different from #pragma omp critical-section?? I have converted my global variables to class variables now. But they still suffer from parallel execution, when mutex is not used. Should I expect this to happen?
What is '-lc -ldl -lm' in "gcc filename.c -I somepath -L -lc -ldl -lm". How do I put it in env.SharedLibrary('CWBoonPlugin',['embed_cvxopt.c'],LIBS=env['LIBS']+[''])?
Yours,
Boon
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
Follow ups
References
-
How to use a plugin
From: boon chiaweng, 2010-04-01
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-05
-
Re: How to use a plugin
From: Václav Šmilauer, 2010-04-05
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-05
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-07
-
Re: How to use a plugin
From: Václav Šmilauer, 2010-04-08
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-08
-
Re: How to use a plugin
From: Václav Šmilauer, 2010-04-08
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-08
-
Re: How to use a plugin
From: Václav Šmilauer, 2010-04-08
-
Re: How to use a plugin
From: Anton Gladky, 2010-04-08
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-08
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-08
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-09
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-09
-
Re: How to use a plugin
From: Václav Šmilauer, 2010-04-09
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-09
-
Re: How to use a plugin
From: Václav Šmilauer, 2010-04-09
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-09
-
Re: How to use a plugin
From: Václav Šmilauer, 2010-04-09
-
Re: How to use a plugin
From: boon chiaweng, 2010-04-09
-
Re: How to use a plugin
From: Václav Šmilauer, 2010-04-12