Merge Revision revid:sunny.bains@oracle.com-20100510031717-vw5a99w2v7rot6f9 from MySQL InnoDB
Original revid:sunny.bains@oracle.com-20100510031717-vw5a99w2v7rot6f9
Original Authors: Sunny Bains <Sunny.Bains@Oracle.Com> Original commit message: Fix bug#53499 - purge thread is active during shutdown, assert buf/buf0buf.c line 4115.
Check that all background threads are suspended or shutdown instead of just checking for the master thread. rb://333