This commit moves the functionality of the operation thread into the new monitor thread. This is
required to avoid a kernel race between the two threads and I believe it actually makes the code
cleaner.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Please see my comments.
Overall looks great!
source/Plugins/Process/Linux/NativeProcessLinux.cpp | ||
---|---|---|
1077 ↗ | (On Diff #23936) | Could you return Error instead of bool? |
1080 ↗ | (On Diff #23936) | Please combine definition of status variable with its initialization |
1122 ↗ | (On Diff #23936) | Nit: please move up m_operation_mutex so mutex is initialized before the data it protects. |
1199 ↗ | (On Diff #23936) | is it waiting for initial command to complete? If so - please add the comment. |
1217 ↗ | (On Diff #23936) | s/1/sizeof(operation_command) |