Skip to content

Commit 1d1a2d2

Browse files
authored
Merge pull request #632 from apanda/summary-ts
Mark get_summary in measure.cc as thread safe
2 parents 3dcd0cb + 9ef4f36 commit 1d1a2d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/modules/measure.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ static bool IsTimestamped(bess::Packet *pkt, size_t offset, uint64_t *time) {
5757

5858
const Commands Measure::cmds = {
5959
{"get_summary", "EmptyArg", MODULE_CMD_FUNC(&Measure::CommandGetSummary),
60-
Command::THREAD_UNSAFE},
60+
Command::THREAD_SAFE},
6161
{"clear", "EmptyArg", MODULE_CMD_FUNC(&Measure::CommandClear),
6262
Command::THREAD_UNSAFE},
6363
};

0 commit comments

Comments
 (0)