[thread.threads] Add lock tags to index of library names.

Reported by Geoffrey Romer.

Fixes #76