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]

Re: about elix


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!



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