This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1000285] jffs2 lead to cyg_thread_delay(ticks) no delay
- From: bugzilla-daemon at ecoscentric dot com
- To: ecos-bugs at sources dot redhat dot com
- Date: Wed, 14 Jun 2006 04:28:58 +0100 (BST)
- Subject: [Bug 1000285] jffs2 lead to cyg_thread_delay(ticks) no delay
http://bugzilla.ecoscentric.com/show_bug.cgi?id=1000285
------- Additional Comments From sd_mingling@hotmail.com 2006-06-14 04:28 -------
int fd;
char buf[]={"hello test file."};
cyg_thread_delay(100); //this delay is ok.
if((fd=open("test.txt",O_WRONLY|O_TRUNC|O_CREAT))<0){ //test.txt is in flash
printf("create file failed!\n");
return;
}else{
write(fd,buf,strlen(buf));
close(fd);
}
cyg_thread_delay(100); //this and the following are unusefull
printf("delay test 0.\n");
cyg_thread_delay(100); //like cyg_thread_delay(0);
printf("delay test 1.\n");
cyg_thread_delay(100);
printf("delay test 2.\n");
cyg_thread_delay(100);
printf("delay test 3.\n");
--
Configure bugmail: http://bugzilla.ecoscentric.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.