Mac 10.6 comes with license to kill
The name's Leopard... Snow Leopard... and how I wish it was 10.7 instead of 10.6 so I could extend these hokey James Bond allusions further. That said, it is closer than the truth than you may think. Apple has given Snow Leopard a license to kill... but this doesn't have anything to do with espionage or even spyware (pardon the pun). Instead, it has everything to do with Apple's desire to make the shutdown process faster.
One of the systemwide refinements tells us that "Snow Leopard is up to 80 percent faster when shutting down." If you've ever waited impatiently for your Mac notebook to shut down while your flight was boarding or at the end of the day when you are anxious to get home, Apple is looking to reduce that frustration.
Towards that end, Snow Leopard allows developers to mark their applications as "clean" or "dirty" -- not that kind of dirty!
Here's an example of what "clean" vs "dirty" means in this context: imagine you have been working in Pages, but all of your documents are saved (or maybe you've closed all the documents but Pages is still running). Pages can mark itself "clean" which is similar to saying "I'm ready when you are!"
Now imagine that you are working in Pages, and you've saved your file, but after you saved it you made some additional changes. Perhaps you have several documents open and unsaved, or you've got a Preferences dialog open. If you look at the 3 circles in the top-left corner of the window, you'll see that the one of the far left has a hole in the middle which goes away when you save the file. If any of those situations are true, Pages is considered "dirty," the programmatic equivalent of "Just a moment please!"
When the user tells the operating system to shutdown (not just sleep), the operating system will look to see which applications are "ready to go" and applications are still looking for their metaphorical keys. The ones that are ready? They get killed, and killed hard.
It's like the difference between telling an app to "Quit" versus "Force Quit." If you ask it to Quit, it is going to check to see if it needs to do anything before it does. If you tell it to Force Quit, it's just going to go away.
If you are familiar with the Terminal, you may have used 'kill' to stop some process from running. Usually if you want to 'kill' an application nicely, you send 'kill -TERM' ("software termination signal") which says "OK, clean up your things and let's go!" However if you find that something refuses to stop, you might use 'kill -9' which is referred to as SIGKILL, described as "non-catchable" and "non-ignorable." This is like picking up your child and carrying him or her away because it is time to go now with no questions asked. Applications which mark themselves as "clean" are telling the operating system: "You can use 'kill -9'/Force Quit on me without worrying about losing anything."
How much longer does "Quit" take compared to "Force Quit"? Maybe only a second or two, maybe a fraction of a second. But if you have a lot of applications running and the majority of them can skip that time, it helps the overall speed of the shutdown. Think of it like this: imagine you had a bunch of family members over and you were trying to get everyone out of the house to go to a restaurant: young kids, a couple of older aunts and uncles, and maybe grampa. You've probably asked something like this: "Does everyone have everything they need? Kids, did you go to the bathroom? Uncle Joe, did you get your coat and hat? Grampa, do you have your sweater in case it's too cold?" Even if everyone says "yes" it took longer than if you said "Let's go" and everyone replied "We're all ready!"
Is this a "sexy" feature of our newest cat-themed operating system? Not at all, but it is one of those "little details" that makes life a little easier as a Mac user: a little faster, a little more attention to detail, and exactly the sort of thing Apple promised to pay attention to with Snow Leopard.
(Big tip o' the hat to John Siracusa's epic Snow Leopard review at Ars Technica for bringing my attention to this feature. I look forward to John's operating system reviews almost as much as I look forward to the operating systems themselves.)
photo via flickr creative commons: danzen
Subscribe to Newsletter
Software Updatesmore updates
- Yahoo Mail improves email inbox searching with new filtering options
- Ember for Mac gains 'hugely-requested' screen recording feature
- Spotify update adds equalizer, refreshed Artist page and more
- Fantastical 2.1 for iOS adds new snooze, search and notification features
- ExpanDrive 4, more services and faster sync
- Apple adds iTunes Extras to Apple TV