c# - parallel programming in TPL -
im using tasks parallel library in .net 4.0 want have ability specify task each core independant of other cores. in tpl, create task , tell run in parallel, have no control on number of threads created nor can control number of cores participate in parallel task. also, cant specify each particular core different task. i'd know how achieve in tpl if possible.
as others have pointed out, don't want this.
there parallelextensionsextras library on codeplex has various task schedulers, 1 of "thread per task" scheduler, , (limitedconcurrencyleveltaskscheduler) allows specify degree of parallelism.
however, don't provide thread affinity particular core. you'd have code on own.
Comments
Post a Comment