Configure threading behavior