spinlock protects pen_down