Call wih lock held
| 1860 | |
| 1861 | // Call wih lock held |
| 1862 | static void wakeup(psocket_t *ps) { |
| 1863 | pcontext_t *ctx = psocket_context(ps); |
| 1864 | if (!ctx->working && !ctx->wake_pending) { |
| 1865 | ctx->wake_pending = true; |
| 1866 | ctx->completion_ops++; |
| 1867 | post_completion(ctx->proactor->iocp, psocket_wakeup_key, ps); |
| 1868 | } |
| 1869 | } |
| 1870 | |
| 1871 | // Call wih lock held |
| 1872 | static inline void proactor_wake_complete(pn_proactor_t *p) { |
no test coverage detected