Also, it would be useful to have comments about which of these are thread-safe and which are not.  (I know this is something you've worried about, but so far I think nothing has been thread-safe.)