This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Thread operation
- From: NavEcos <ecos at navosha dot com>
- To: "Daniel Lidsten" <Daniel dot Lidsten at combitechsystems dot com>,"eCos Discussion" <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 6 Nov 2002 09:54:20 +0000
- Subject: Re: [ECOS] Thread operation
- Organization: Navosha
- References: <004B1D7A5257174C9044A1B7BD0E60ED5981F7@ratatosk.combitechsystems.com>
- Reply-to: ecos at navosha dot com
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