[ECOS] about elix

wangwei wangw@start.com.cn
Thu May 24 00:11:00 GMT 2001


Hi:
I met a problem When tring nanox in ecos .
In file ntetris.c ,The function nanosleep() is called .
this function belong elix module ,file "time.cxx" ; it will call
pthread_self_info()
to get pthread_info , but the thread "ntetris" isn't created by
pthread_create(),but cyg_thread_create(). So it will return a involid
pthread_info which value is 0 .
when nanosleep() called "self->thread->delay( ticks )" in file time.cxx
line number 633 , it will read or write some member variable of cyg_thread
,it is
possible to cause a exception 4 .(invilid memory operation).
Do you think it is correct ?
Thinks!




More information about the Ecos-discuss mailing list