Okay... thread.c definitely should not have been accessing that.