diff options
author | Isaac de Wolff <idewolff@vincitech.nl> | 2024-10-08 19:05:05 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2024-10-24 08:55:53 +0200 |
commit | 63e18eae374e1fc6dfa162e8f9890f526eb16666 (patch) | |
tree | 0c688b54ee80e0ae3c29ebee425f643ec2ec9923 /.editorconfig | |
parent | b1bd7b53123e3e3b8da2fc30bda8dc22c2cdb170 (diff) |
fs: eliminate the usage of global variables
Move last error code into a VM registry value and lookup resource types
within the current VM context at call time, allowing the proper use of
the fs module within multiple threads of a multithreaded application.
Suggested-by: Isaac de Wolff <idewolff@vincitech.nl>
[turn err_return() back into a local macro, simplify uc_fs_error(),
align whitespace style]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions