Oh, I just realized that each thread was created in a new closure anyway, so they weren't able to share the variable. Sorry for the confusion.