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
Diff Detail
Event Timeline
Please see my comments.
Overall looks great!
source/Plugins/Process/Linux/NativeProcessLinux.cpp | ||
---|---|---|
1077 | Could you return Error instead of bool? | |
1080 | Please combine definition of status variable with its initialization | |
1122 | Nit: please move up m_operation_mutex so mutex is initialized before the data it protects. | |
1199 | is it waiting for initial command to complete? If so - please add the comment. | |
1217 | s/1/sizeof(operation_command) |
Could you return Error instead of bool?