Advertisement
Guest User

Untitled

a guest
Dec 8th, 2021
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.19 KB | None | 0 0
  1. static bool
  2. have_running_uloop(void)
  3. {
  4.     bool prev = uloop_cancelled;
  5.     bool active;
  6.  
  7.     uloop_cancelled = true;
  8.     active = uloop_cancelling();
  9.     uloop_cancelled = prev;
  10.  
  11.     return active;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement