thenickdude / asyncfatfs Goto Github PK
View Code? Open in Web Editor NEWAsynchronous FAT16/32 filesystem for embedded devices
License: MIT License
Asynchronous FAT16/32 filesystem for embedded devices
License: MIT License
I was wondering if it is safe to do multiple fopen() calls on the same file. My use case is to have one process writing to the end of the file while another process reads from earlier sections of the file. Would doing this break anything in afatfs?
Thanks!
Hello there!
First, I'd like to thank you for this amazing library! It's super helpful!
When sdcard_{writeBlock,readBlock} is called and the operation starts, I get the current timestamp. When sdcard_poll is called I check if the operation has finished in order to call the callbacks, but let's suppose it's taking way too long and something has gone wrong in the layers below the file system (sd card driver or something like that).
In that case, is there a way to tell the filesystem that the operation has failed? As far as I've looked throughout the code base, there is no way, because there's no error callback... What would happen if I were to cancel the operation and mark the SDCard as ready again? I'm assuming I'd lose data...
In that scenario, if I assume the operation is taking too long, is my only option restarting it?
Also, I'm not expecting this code path to be executed, but I'm used to check for timeout in all kinds of operations... just to try and be safe.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.