Called when the leaf that owns this task is destroyed.
| 37 | |
| 38 | // Called when the leaf that owns this task is destroyed. |
| 39 | void Task::Detach() { |
| 40 | c_ = nullptr; |
| 41 | } |
| 42 | |
| 43 | // Called when the leaf that owns this task is created. |
| 44 | void Task::Attach(bess::LeafTrafficClass *c) { |