This is the mail archive of the ecos-bugs@sourceware.org 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]
Other format: [Raw text]

[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.


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