Bug 1061993 - Add lock to ifc_* functions. r=chucklee