can write commands into thread command buffer