Re: How to sync a dos file system externally

2018-10-03 Thread Sebastian Huber
Hello Cliff, in case you expect a certain behaviour from the FAT file system implementation, then I would write a self-contained test case and add it to the RTEMS testsuite. We can then change the implementation accordingly if it makes sense. -- Sebastian Huber, embedded brains GmbH Address

RE: How to sync a dos file system externally

2018-10-03 Thread Cliff Geschke
Thanks for the advice. I looked at JFFS2 but I hope to use this file system on a removable SD card and JFFS2 does not appear to be widely supported by other PCs. fsync() is exactly what I was looking for. I call it after a 3-second pause in the write stream. The user needs to stop writing

Re: rtems_message_queue_receive / rtems_event_receive issues

2018-10-03 Thread Catalin Demergian
ok, I understand. The code in _Event_Is_blocking_on_event is correct, it just verifies if the thread is in wait state or not. The only thing that varies is what _Thread_Wait_flags_get returns. In my case, it returned 0x102 for 5401 times, but 5402th time it returned 0x104; because of that, ( wait_f