An archive of as of Saturday January 26, 2019.

Read / Write File Access


I am interested to know if the system supports multiple threads reading / writing to the same file?


Logging data 1x a second from a process..... another process reading the file from the beginning of the file.



10 days and no response??


The underlying operating system uses multiple threads (RTOS tasks), but the Squirrel VM only allows one thread. We made the design decision not to support multi-threading in Squirrel to keep things simple. Most of the time, you can arrange things so that you handle asynchronous events from a loop without blocking.