mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 14:56:08 +00:00
refactor(lua): cleanup and docs for threads
This commit is contained in:
@@ -64,6 +64,9 @@ void fs_init(void)
|
||||
uv_mutex_init_recursive(&fs_loop_mutex);
|
||||
}
|
||||
|
||||
/// TODO(bfredl): some of these operations should
|
||||
/// be possible to do the private libuv loop of the
|
||||
/// thread, instead of contending the global fs loop
|
||||
void fs_loop_lock(void)
|
||||
{
|
||||
uv_mutex_lock(&fs_loop_mutex);
|
||||
|
Reference in New Issue
Block a user