S
S
SatanistArtem2018-04-19 23:30:19
C++ / C#
SatanistArtem, 2018-04-19 23:30:19

How to create an array of threads and how to interact with it?

It is necessary to implement allocation of the nth number of threads. I wanted to create an array of streams (using vectors), but I don't know the syntax for such an option.5ad8fc53b609b871306788.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Q
qpetun, 2019-10-24
@qpetun

threads[0]=thread(sum,1,2);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question