[ECOS] thread creation

Aravind B arvindb@cranessoftware.com
Tue Sep 14 12:17:00 GMT 2004

hi all,
i have written small application which has  2 threads.
small part of it is as follows:
void cyg_user_start(void)
	printf("entering two threads cyg_user_start() function\n");
			  "Thread A",(void*) stack[0],4096,
			 "Thread B",(void*) stack[1],4096,
when the control comes for execution of second thread the system hangs.
on debug i found that the control is in thread.cxx.
why is this happening and how to overcome this.

thanking advance.

Aravind B 

Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list