a2r

deadlock output

a2r
Aug 4th, 2013
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.72 KB | None | 0 0
  1. Thread_A: Started.
  2. Thread_A: Let's see if a resource is available.
  3. Thread_A: Now I have a resource.
  4. Thread_A: Let's see if the second resource is also available.
  5. Thread_A: Now I have both resources and I can start working!
  6. Thread_B: Started.
  7. Thread_B: Let's see if a resource is available.
  8. Thread_A: My work is done, I will free my resources!
  9. Thread_A: I will now sleep for 8 seconds!
  10. Thread_B: Now I have a resource.
  11. Thread_B: Let's see if the second resource is also available.
  12. Thread_B: Now I have both resources and I can start working!
  13. Thread_A: Let's see if a resource is available.
  14. Thread_B: My work is done, I will free my resources!
  15. Thread_B: I will sleep now . I will be back in 8 seconds !
  16. Thread_A: Now I have a resource.
  17. Thread_A: Let's see if the second resource is also available.
  18. Thread_A: Now I have both resources and I can start working!
  19. Thread_B: Let's see if a resource is available.
  20. Thread_A: My work is done, I will free my resources!
  21. Thread_A: I will now sleep for 8 seconds!
  22. Thread_B: Now I have a resource.
  23. Thread_B: Let's see if the second resource is also available.
  24. Thread_B: Now I have both resources and I can start working!
  25. Thread_A: Let's see if a resource is available.
  26. Thread_B: My work is done, I will free my resources!
  27. Thread_B: I will sleep now . I will be back in 2 seconds !
  28. Thread_A: Now I have a resource.
  29. Thread_B: Let's see if a resource is available.
  30. Thread_B: Now I have a resource.
  31. Thread_A: Let's see if the second resource is also available.
  32. DEADLOCK: Both threads are waiting for a resource!
  33. THREAD_A-Thread canceled
  34. Thread_A: Started.
  35. Thread_A: Let's see if a resource is available.
  36. Thread_A: Now I have a resource.
  37. Thread_A: Let's see if the second resource is also available.
  38. Thread_B: Let's see if the second resource is also available.
  39. DEADLOCK: Both threads are waiting for a resource!
  40. THREAD_A-Thread canceled
  41. Thread_B: Now I have both resources and I can start working!
  42. Thread_A: Started.
  43. Thread_A: Let's see if a resource is available.
  44. Thread_B: My work is done, I will free my resources!
  45. Thread_B: I will sleep now . I will be back in 8 seconds !
  46. Thread_A: Now I have a resource.
  47. Thread_A: Let's see if the second resource is also available.
  48. Thread_A: Now I have both resources and I can start working!
  49. Thread_B: Let's see if a resource is available.
  50. Thread_A: My work is done, I will free my resources!
  51. Thread_A: I will now sleep for 8 seconds!
  52. Thread_B: Now I have a resource.
  53. Thread_B: Let's see if the second resource is also available.
  54. Thread_B: Now I have both resources and I can start working!
  55. Thread_A: Let's see if a resource is available.
  56. Thread_B: My work is done, I will free my resources!
  57. Thread_B: I will sleep now . I will be back in 2 seconds !
  58. Thread_A: Now I have a resource.
  59. Thread_B: Let's see if a resource is available.
  60. Thread_B: Now I have a resource.
  61. Thread_A: Let's see if the second resource is also available.
  62. Thread_B: Let's see if the second resource is also available.
  63. DEADLOCK: Both threads are waiting for a resource!
  64. --> THREAD_B-Thread canceled
  65. Thread_A: Now I have both resources and I can start working!
  66. --> Thread_A: Started.
  67. Thread_A: Let's see if a resource is available.
  68. Thread_A: My work is done, I will free my resources!
  69. Thread_A: I will now sleep for 8 seconds!
  70. Thread_A: Now I have a resource.
  71. DEADLOCK: Both threads are waiting for a resource!
  72. Thread_A: Let's see if the second resource is also available.
  73. Thread_A: Now I have both resources and I can start working!
  74. THREAD_A-Thread canceled
  75. Thread_A: Started.
  76. Thread_A: Let's see if a resource is available.
  77. Thread_A: Now I have a resource.
  78. Thread_A: Let's see if the second resource is also available.
  79. ^C ===> ABORT <===
  80. THREAD_A-Thread canceled
  81. THREAD_B-Thread canceled
Advertisement
Add Comment
Please, Sign In to add comment