Replies: 1 comment 1 reply
|
You can pass NULL for sync calls: |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
When I want to use
uv_fs_unlink()from different threads where I don't pass a callback intouv_fs_unlink(), can I then still useuv_default_loop(), like shown below?uv_fs_unlink(uv_default_loop(), &req, filepath, NULL).Or should I e.g. create a
uv_loop_tthen init it and use that? My goal is to have a utility function that I can call from anywhere to unlink files.All reactions