Tenants in common of a sawmill may have a division of the time during which each may occupy according to his interest, as partition is made of an estate. The court may make all necessary decrees in relation thereto.