aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPProcessListController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPProcessListController.m')
-rw-r--r--Source/SPProcessListController.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPProcessListController.m b/Source/SPProcessListController.m
index c958edc3..3b497448 100644
--- a/Source/SPProcessListController.m
+++ b/Source/SPProcessListController.m
@@ -35,6 +35,7 @@
#import "SPAlertSheets.h"
#import "SPAppController.h"
#import "SPDataCellFormatter.h"
+#import "SPThreadAdditions.h"
#import <SPMySQL/SPMySQL.h>
@@ -226,7 +227,7 @@ static NSString *SPTableViewIDColumnIdentifier = @"Id";
processListThreadRunning = YES;
// Get the processes list on a background thread
- [NSThread detachNewThreadSelector:@selector(_getDatabaseProcessListInBackground:) toTarget:self withObject:nil];
+ [NSThread detachNewThreadWithName:@"SPProcessListController retrieving process list" target:self selector:@selector(_getDatabaseProcessListInBackground:) object:nil];
}
/**