Closed

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]();

}

Skills: C# Programming, Mathematics, Matlab and Mathematica, Python

See more: parallel computing, start cloud computing, reading parallel port, reading int digits, parallel computing projects, parallel computing java, projects parallel computing

About the Employer:
( 0 reviews ) India

Project ID: #11803979

2 freelancers are bidding on average $6/hour for this job

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 More

$7 USD / hour
(2 Reviews)
1.6
$5 USD / hour
(1 Review)
0.8
$5 USD / hour
(0 Reviews)
0.0