Cerrado

parallel computing

static void Main(string[] args)

{

//creating the cancelation token

CancellationTokenSource cancellationTokenSource = new CancellationTokenSource();

CancellationToken token = [url removed, login to view];

//creating the task

Task task = new Task(() =>

{

for (int i = 0; i < 100000; i++)

{

if ([url removed, login to view])

{

[url removed, login to view]("Cancel() called.");

return;

}

[url removed, login to view]("Loop value {0}", i);

}

}, token);

[url removed, login to view]("Press any key to start task");

[url removed, login to view]("Press any key again to cancel the running task");

[url removed, login to view]();

//starting the task

[url removed, login to view]();

//reading a console key

[url removed, login to view]();

//canceling the task

[url removed, login to view]("Canceling task");

[url removed, login to view]();

[url removed, login to view]("Main method complete. Press any key to finish.");

[url removed, login to view]();

}

Habilidades: Programación en C#, Matemáticas, Mathlab y Mathematica, Python

Ver más: parallel computing, start cloud computing, reading parallel port, reading int digits, parallel computing projects, parallel computing java, projects parallel computing

Información del empleador:
( 0 comentarios ) India

ID de proyecto: #11803979

2 freelancers están ofertando un promedio de $6 /hora para este trabajo.

PC010

Hello Sir, I'm an E.C. Engineer and having related skills as per your need for this project. I've done few projects on MATLAB, Arduink UNO. I also have enough knowledge about python coding. If you need help for this pr Más

$7 USD / hora
(2 comentarios)
1.6
$5 USD / hora
(1 comentario)
0.8
$5 USD / hora
(0 comentarios)
0.0