Try to write a message to Channel without blocking and if it fails,
create a write queue entry using the given sel_state and sel_id
Param:
ptr = Message to write to channel
sel_state = SelectState instace of the select call being executed
sel_id = id of the select call being executed
Try to write a message to Channel without blocking and if it fails, create a write queue entry using the given sel_state and sel_id
Param: ptr = Message to write to channel sel_state = SelectState instace of the select call being executed sel_id = id of the select call being executed