[haiku-commits] Re: BRANCH waddlesplash-github.tracker_cleanup_threads_properly [9749bc4c0ab9] src/kits/tracker

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 29 Apr 2017 23:32:07 +0200

Am 29/04/2017 um 22:30 schrieb waddlesplash-github.tracker_cleanup_threads_properly:

+       printf("exitOK\n");

Left over debug output.

-                       if (!lock.Lock()) {
+                       if (!lock.LockWithTimeout(1000000)) {

Do you really have to do that? Can't you simply delete the lock instead? That would be a good way to let lockers fail immediately.


Other related posts: