This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Question about Cyg_Thread:unique_id
- From: Shiv Kumar <bshiva at cdotb dot ernet dot in>
- To: ecos-discuss <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 06 Jun 2003 17:28:30 +0530
- Subject: [ECOS] Question about Cyg_Thread:unique_id
Hi All,
Every thread in ECOS has an unique id which is represented by the
member unique_id. The unique_id is a private member of the Cyg_Thread
class, but I want to access this member in Cyg_HardwareThread class for
kernel instrumentation [particularly for
CYG_INSTRUMENT_THREAD(ENTER,thread,0) in
Cyg_HardwareThread::thread_entry () function]. So, can I make the
unique_id as public or should I provide a get_method () in Cyg_Thread
class?
--
regards,
Shiv Kumar B.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss