decimusphostle

boost file lock output

Oct 21st, 2011
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. $ ./test_boost_file_lock &
  2. [1] 13304
  3. Process with PID: 13304 has lock on file: foo
  4. $ ./test_boost_file_lock &
  5. [2] 13306
  6. Process with PID: 13306 has lock on file: foo
  7. 13306 still holding on to lock on foo
  8. 13304 still holding on to lock on foo
  9. 13306 still holding on to lock on foo
  10. 13304 still holding on to lock on foo
  11. 13306 still holding on to lock on foo
  12. $ fg
  13. ./test_boost_file_lock
  14. Caught signal: 2
  15. Exiting now
  16. $ fg
  17. ./test_boost_file_lock
  18. Caught signal: 2
  19. Exiting now
  20. $
  21.  
  22.  
Advertisement
Add Comment
Please, Sign In to add comment