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: Thread operation


You need to include the following inyour code

 #include <cyg/kernel/thread.hxx>

You can find more documentation here:

http://navosha.com/ecos/cpp/Cyg_Thread.html


-Rich

On Wednesday 06 November 2002 04:15 pm, Daniel Lidsten wrote:
> Hi,
>
> I am trying to use the C++ api to get information about my threads that
> = =3D i have in the system. However, it get some undefined reference
> while = =3D linking.
>
> undefined reference to `Cyg_Thread::get_list_head(void) undefined =
> reference to `Cyg_Thread::get_name(void) undefined reference to =
> `Cyg_Thread::get_list_next(void)
>
> When i look in the code then i can see that some things lies within =3D
> = defines like below but in my configtool i have them enabled. What have
> i = =3D missed....?
>
> CYGVAR_KERNEL_THREADS_LIST
> CYGVAR_KERNEL_THREADS_NAME
>
> Regards, Daniel


--
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]