[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: !ERR and MPFIT



In article <MPG.129be687cb5374e598996c@news.frii.com>,
	davidf@dfanning.com (David Fanning) writes:
> Craig Markwardt (craigmnet@cow.physics.wisc.edu) writes:
> 
>> now I am leaning toward the common-block approach.  Sorry David.
> 
> Oh, I like it. And to tell you the truth, this might
> be the *perfect* situation for a common block. Just
> don't be putting 'em in a widget program! :-)
> 

Now, what happens if you have two or three widgets open each of which 
is calling MPFIT through some means. Would a common block still work?
And please think once more: may not be possible now, but I am quite certain
that RSI will one day support SMP, so it could indeed happen that those
calls to MPFIT were executed simultaneously! I'd go for the keyword - this
is clean.

Cheers,
Martin

-- 
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
[[ Dr. Martin Schultz   Max-Planck-Institut fuer Meteorologie    [[
[[                      Bundesstr. 55, 20146 Hamburg             [[
[[                      phone: +49 40 41173-308                  [[
[[                      fax:   +49 40 41173-298                  [[
[[ martin.schultz@dkrz.de                                        [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[