ATACH_SHUTDOWN
#define ATACH_SHUTDOWN 0x02 /* thread is shutting down */
#define ATACH_SHUTDOWN 0x02 /* channel is shutting down */