On Oct 10, 2008, at 4:46 AM, Michael Schnell wrote:

Alexandre,

Do you use the distribution by Thoma Chou ?

Maybe you want try same and/or to post a problem description over in the appropriate Forum ( [EMAIL PROTECTED] / http:// sopc.et.ntust.edu.tw/cgi-bin/mailman/listinfo/nios2-dev )

The NIOS uCLinux distribution does not yet support NPTL, so thread scheduling can't be "fair" (in a Posix sense). I don't know in what way usleep() should help here. OTOH usleep() generally should work. In what way do you think it does not work ?

-Michael


I tried using threads (linux threads, not NPTL) using NOMMU M5282 target, using 888.
I'm using uClibc 20060608

Calling sleep caused an illegal instruction right away.
Removing the calls to sleep let the application run longer, but it would crash with an illegal instruction in pretty short order anyway. After futzing with very simple examples with no success, we gave up on threads.
-
allon

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to