The fact that there is no OpenMP support in C# does not imply that it does not have multihreading. You can create thread yourself by using the Thread class from the System.Threading namespace:
C# can do threading....if you mean running a process on another thread (So doing a task on another thread without effecting the main UI thread from say not responding)
System.Threading would be the namespace for threading
how turn on OPENMP in VSC#2005?
BlueBeetle
gqlu
Milo123
The fact that there is no OpenMP support in C# does not imply that it does not have multihreading. You can create thread yourself by using the Thread class from the System.Threading namespace:
http://msdn2.microsoft.com/en-US/library/system.threading.aspx
A very simple example:
using System;
using System.Threading;
class Program
{
static void Main(string[] args)
{
Thread thread = new Thread(new ThreadStart(MyThread));
thread.Start();
}
static void MyThread()
{
// do something on the newly created thread
}
Kujo1987
Are you talking about the Visual C++ OpenMP support in fact
This is the Visual C# forum ...
Donaghy
C# can do threading....if you mean running a process on another thread (So doing a task on another thread without effecting the main UI thread from say not responding)
System.Threading would be the namespace for threading
http://msdn2.microsoft.com/en-us/library/system.threading.thread.aspx
http://msdn2.microsoft.com/en-us/library/6kac2kdh.aspx
maybe this would be of some interest to you:
http://www.c-sharpcorner.com/UploadFile/mgold/MultithreadingIntro10062005000439AM/MultithreadingIntro.aspx ArticleID=920ecafc-e83b-4a9c-a64d-0b39ad885705
http://www.csharphelp.com/archives/archive128.html
Luis Esteban Valencia Muñoz
ok C# havent multithreading at all
how it can be
1 of most powerfull lang. & havent threading...... i dont understand
sapo
no i want use openmp in c#, may i
or openmp not implemented in c#