Create a new channel as a copy of main.
Rename main to:
Delete main? This cannot be undone.
struct __attribute__((lockable)) mutex { void lock() __attribute__((exclusive_lock_function)); void unlock() __attribute__((unlock_function)); };