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.
This looks like either the distribution (tool chain) or the user software is buggy. You might want to follow the instructions in the NIOSWiki to get yourself a decent distribution.
After futzing with very simple examples with no success, we gave up on threads.
I and several others did some test with threads and this does seem to work well. Only known downside (to be cured hopefully quite soon): the remote- gdb (via-Ethernet) support does not recognize the threads.

-Michael
_______________________________________________
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