Advertisement
ItsTotallyRSX

IPC Semaphore

Aug 10th, 2022 (edited)
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. getpid() = 807667
  2. eventfd2(2, EFD_SEMAPHORE|EFD_NONBLOCK) = 7
  3. getpid() = 807667
  4. pidfd_open(807667, 0) = 8
  5. pidfd_getfd(8, 7, 0) = 9
  6. close(8) = 0
  7. getpid() = 807667
  8. read(9, "\1\0\0\0\0\0\0\0", 8) = 8
  9. read(7, "\1\0\0\0\0\0\0\0", 8) = 8
  10. read(9, 0x7ffcccc51f30, 8) = -1 EAGAIN (Resource temporarily unavailable)
  11. read(7, 0x7ffcccc51f30, 8) = -1 EAGAIN (Resource temporarily unavailable)
  12. write(7, "\1\0\0\0\0\0\0\0", 8) = 8
  13. read(7, "\1\0\0\0\0\0\0\0", 8) = 8
  14. read(9, 0x7ffcccc51f30, 8) = -1 EAGAIN (Resource temporarily unavailable)
  15. read(7, 0x7ffcccc51f30, 8) = -1 EAGAIN (Resource temporarily unavailable)
  16. getpid() = 807667
  17. close(9) = 0
  18. getpid() = 807667
  19. close(7) = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement