Skip to content

Commit 34d5c97

Browse files
UE4SSnarknon
authored andcommitted
chore(FilesystemWatcher): Removed unused LibReloaderState
1 parent 73bc538 commit 34d5c97

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

UE4SS/include/FilesystemWatcher.hpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,6 @@ namespace RC
3434
}
3535
};
3636

37-
// clang-format off
38-
enum class LibReloaderState
39-
{
40-
Idle = -1, // Main thread is executing, loader thread is waiting for notification from the OS.
41-
ReloadRequested_WaitForMain = 0, // Loader got notification from OS, and is now paused until main thread replies it's safe to reload the .dll/.so file.
42-
// This allows the main thread to finish executing its current frame before the .dll/.so file is unloaded.
43-
// Without this, the .dll/.so file could be unloaded at the same time that it's being used which would cause a SIGSEGV or SIGBUS error.
44-
ReloadCanStart_WaitForLoader = 1, // Main thread received notification from loader, and is now in a safe state to reload, and is now paused until loader replies it's safe to continue executing.
45-
ReloadCompleted = 2, // Loader thread has finished reloading the .dll/.so file, and now notifies main of such and then immediately goes into idle state.
46-
// When the main thread receives the notification from the loader, it also go into idle state.
47-
};
48-
// clang-format on
49-
5037
class FilesystemWatcher
5138
{
5239
public:

0 commit comments

Comments
 (0)