This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: some problems with thread.hxx


li hui wrote:
> now I try to add some member variables in class Cyg_Thread. I add 
> following variables in the class and the eCos works smoothly.
> private:
>     cyg_uint32        iPeriod;        //Task period (10ms)
>     cyg_uint16        iQos;        //Qos value (1,2,3)
>     cyg_uint16        iMissNum;        //count task miss period
>     bool            isPeriodEnd;    // falg is true if task is over when 
> period is end
> 
>   but if I add anther several member variables, the eCos cna not startup 
> to jump into main function, or it jump into main function and show me 
> the segement fault warning in executing the first sentence.It seems that 
> I can only add three varibles in class cyg_thread.

That shouldn't happen. Perhaps some object has not been recompiled that
should have been. Try a completely clean build after making these changes.

Jifl
-- 
eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]