With new channels I can't call createAllocShared0() because I have to call newChan[ instead. Unless I can combine the two, but I don't see how.
The problem is that in the proc I create the channel in, I get the ptr (using addr), but after that ptr is returned it seems to become useless. When I try to use the channel ptr I get a nil error. Is there a trick to doing this?
