inessential by Brent Simmons

Eric Albert on counting threads

I had lunch with Eric Albert and Buzz Andersen at the OS X conference. Eric helped me debug a mach port leak in NetNewsWire. It was in a method which counted the current number of threads in use.

In case you’re curious about how to count threads, here’s Eric’s post on how to do it without leaking mach ports.