What is a Fibre... can we use it in C#

  • Thread starter Thread starter Abhishek Srivastava
  • Start date Start date
A

Abhishek Srivastava

Hello All,

I was reading thru SQL Server documentation where I found that it uses
something called as a Fibre instead of usual Threads.

This brought up a question of what really is a Fibre and can we use
Fibre in our C# apps as well?

regards,
Abhishek.
 
Abhishek said:
This brought up a question of what really is a Fibre and can we use
Fibre in our C# apps as well?

Fibers must be scheduled by the application.
There is yet no native support of fibers in C#.

You can use it via P/Invoke (but I never tried fibers).



For more info see:

Disussion on Fibers in C#
http://www.dotnet247.com/247reference/msgs/5/25020.aspx

Fibers
http://msdn.microsoft.com/library/en-us/dllproc/base/fibers.asp

ConvertThreadToFiber
http://msdn.microsoft.com/library/en-
us/dllproc/base/convertthreadtofiber.asp

CreateFiber
http://msdn.microsoft.com/library/en-us/dllproc/base/createfiber.asp

SwitchToFiber
http://msdn.microsoft.com/library/en-us/dllproc/base/switchtofiber.asp

--
Greetings
Jochen

Do you need a memory-leak finder ?
http://www.codeproject.com/tools/leakfinder.asp
 
Back
Top