# Affinity in dabc {#dabc_affinity} This document describes how affinity of whole process or single thread can be assigned ## Using taskset to start dabc Already before it was possible to specify taskset arguments for complete dabc process in `` section in the form like ``. This is used in dabc_run script. ## Assign special arguments for the main process One can specify default affinity for every new created thread, providing "affinity" parameter in `` section. Value can be following: - unsigned value with processors mask - string like "xxxoooxxxss" with allowed symbols 'x', 'o' and 's'. 'x' - enabled, 'o' - disabled, 's' - special purpose first element in string corresponds to first processor - string like "-N" where N is processors number which should be reserved for special purposes. These processors could be later assigned with SetAffinity("+M") call (M