I came accross 100% library cache pin waits, while trying to compile a procedure which was currently executing.
After a little research, I came across this fantastic article by Riyaj Shamsudeen.