Hi,
thanks for spotting it! This spelling mistake was there since day 1, so
it really seems like nobody ever used that function :-) It's now fixed
in the svn trunk.
Cheers, Axel.
bin liu wrote:
> Hi,
>
> The function G__SetCriticalSectionEnv is misspelled to
> G__SetCrititalSectionEnv (the 3rd 't' should be 'c') in v6_pause.cxx.
> I'm surprised why the misspelling have not been discovered for long
> time, no people use the function? Or actually it is not critical?
>
> /************************************************************************
> * G__SetCriticalSectionEnv
> ************************************************************************/
> void G__SetCrititalSectionEnv(int(*issamethread)(),
> void(*storelockthread)(), void(*entercs)(), void(*leavecs)())
> {
> G__IsSameThread = issamethread;
> G__StoreLockThread = storelockthread;
> G__EnterCriticalSection = entercs;
> G__LeaveCriticalSection = leavecs;
> }
>
> Regards,
> Liu Bin
>