------------------------------------------------------------------------- RecSetDiags -------------------------------------------------------------------------
| 30 | // RecSetDiags |
| 31 | //------------------------------------------------------------------------- |
| 32 | int |
| 33 | RecSetDiags(Diags *_diags) |
| 34 | { |
| 35 | // Warning! It's very dangerous to change diags on the fly! This |
| 36 | // function only exists so that we can boot-strap TM on startup. |
| 37 | ink_atomic_swap(&g_diags, _diags); |
| 38 | return REC_ERR_OKAY; |
| 39 | } |
| 40 | |
| 41 | //------------------------------------------------------------------------- |
| 42 | // RecLog |
no test coverage detected