Process..Thread..Fiber

Franky speaking, how many of us know that a concept of Fibers exists in Windows? I can’t see any raised hands 🙂

Few days back I was checking some thread synchronization stuff on MSDN, that’s when I found this strange thing (What Fiber???Which Fiber???Where Fiber???). Let me share my G.K regarding Fibers with you…

Fibers were added to Windows to make life easier for guys trying to port existing UNIX server applications to windows. Actually, UNIX server application works with a single thread but act as multi threaded apps. That is, UNIX server applications are single threaded but can serve multiple clients. Developers creating applications for UNIX have to create their own threading library in order to simulate pure threads. These developer created threading packages contains multiple stacks, persists data in CPU registers and switch among these stacks to give user an impression of multi threading.

Redesigning existing UNIX server applications for Windows can take months to complete. To help companies port their code correctly and quickly to Windows, MS added the concept of Fibers to windows.

Fibers always work in user mode and kernel knows nothing about them. They work according to algorithm that you define i.e. fiber scheduling algorithm is defined by you.

This is just a brief knowledge about Fibers. I don’t want to dig deep into it as everything that comes after this is related to windows internals, like WIN32 API calls to convert existing threads to Fibers, allocating stack memory and playing with registers.

So now, if some one asks you a silly question you can ask him to define a Fiber. It will be fun. Anyways, right now I am having some fibre rich breakfast i.e. some honey almond museli with cold milk. Have to reach office within one hour. Hurry up!!

“I am the One” – [ Neo says so in Matrix ]

Advertisements

185 comments

  1. All of the high-level
    You commit an error. I can defend the position. Write to me in PM.
    [URL=http://herpes.00me.com/herp/map.html]herpes encephalitis emedicine[/URL]

    Before connection

    Like

  2. looking for [url=http://www.web-house.co.il/SEO%20Specialist.htm]seo specialist[/url] ? kick the bucket out our [url=http://www.smashflash.com/]free flick templates[/url] and fund your own falsh website in return free today, colossal series of free [url=http://www.smashflash.com/]flash templates[/url] for you online, varied supplementary designs with ir without flash.
    so choose your [url=http://www.smashflash.com/]free flash template[/url] from the larget [url=http://www.smashflash.com/]flash templates[/url] selection. so get your [url=http://www.smashflash.com/]free website templates[/url] now and build your [url=http://www.smashflash.com/]free website[/url] .
    want to watch [url=http://www.sex4sex.co.il/adult-movies.htm]adult movies[/url]? or even to [url=http://www.sex4sex.co.il/]buy viagra[/url] online, check this new [url=http://www.toys4sex.co.il/]online pharmacy[/url] for great deals. so [url=http://www.ewgpresents.com/]buy viagra[/url] online. check out this [url=http://www.realcazinoz.com/fr//]Casino en ligne[/url]. or [url=http://sites.google.com/site/casinospiele2010//]casino spiele [/url]. [url=http://www.cd-empty.com/]online casinos[/url] , check out this great [url=http://www.omniget.co.il/]online casino bonus[/url] .

    Like

  3. Hallo everybody!
    In my opinion you are not right. I am assured. Let's discuss it.
    [url=http://mercedes.dharkness.info/mer36/map.html]charter mercedes benz map K[/url]

    G'night

    Like

  4. Good day
    It is remarkable, this rather valuable opinion
    [url=http://agglutinin.xoom.it/66/map.html]paralegals of code y[/url]

    G'night

    Like

  5. cool websites
    It seems to me, what is it it was already discussed.
    [url=http://military.0fees.net/mil87/map.html]military oshkosh vehicles f[/url]

    We are waiting for you

    Like

  6. good design
    I thank for the information. I did not know it.
    [url=http://travel.fastlink.in/55/index.html]trailers ukt4 magneta r[/url]

    Total good

    Like

  7. Hi
    This phrase, is matchless))), it is pleasant to me 🙂
    [url=http://atrovent.h.gp/12/index.html]effect of antiarrhythmic f[/url]

    Total good

    Like

  8. excellent design
    What necessary words… super, excellent idea
    [url=http://gluco.asia.cm/in/41/index.html]asthma pathophysiology powerpoint 681[/url]

    Go to the guests

    Like

  9. Download Cicada Mp3 (3)
    http://danceplatform.net/artist290189/evan-parker-and-keith-rowe/1/ – Download Evan Parker and Keith Rowe Mp3 (1) [url=http://danceplatform.net/artist287095/human-league/1/]Download Human League Mp3[/url] (20) [url=http://danceplatform.net/artist135251/junkie-xl/1/]Download Junkie XL Mp3[/url] (9) http://danceplatform.net/artist338538/donnacha-costello/1/ – Download Donnacha Costello Mp3 (5) http://danceplatform.net/artist402539/dillinger-four/1/ – Download Dillinger Four Mp3 (5) [url=http://danceplatform.net/artist424904/dj-stranger/1/]Download Dj Stranger Mp3[/url] (1) Download Us3 Mp3 (9) http://danceplatform.net/artist541433/thd/1/ – Download Thd Mp3 (1) [url=http://danceplatform.net/artist137729/dj-tiesto/1/]Download DJ Tiesto Mp3[/url] (192) Download Gabry Fagiano & Mario Piu Mp3 (1) [url=http://danceplatform.net/artist116344/sophie-ellis-bextor/1/]Download Sophie Ellis-Bextor Mp3[/url] (8) [url=http://danceplatform.net/artist291316/rithma-feat-ryralio-dj-s/1/]Download Rithma feat Ryralio DJ's Mp3[/url] (1) Download Koop Mp3 (4) [url=http://danceplatform.net/artist458889/captain-sensible/1/]Download Captain Sensible Mp3[/url] (3) http://danceplatform.net/artist328584/ymck/1/ – Download YMCK Mp3 (1)

    Like

  10. best web page just for you
    It is a pity, that now I can not express – I am late for a meeting. But I will be released – I will necessarily write that I think on this question.
    [url=http://zyrtec.de.pl/60/map.html]genepool the hives map D[/url]

    See you soon

    Like

  11. Download Blake Mp3 (2) [url=http://femalejazzvocal.com/artist395588/anat-cohen/1/]Anat Cohen[/url] (1) [url=http://femalejazzvocal.com/artist107328/zakir-hussain/1/]Zakir Hussain[/url] (8) http://femalejazzvocal.com/artist279262/keith-jarrett-and-gary-burton/1/ – Keith Jarrett and Gary Burton (1) http://femalejazzvocal.com/artist340673/fania-snowboy-presents/1/ – Fania Snowboy Presents (1) [url=http://femalejazzvocal.com/artist100531/kenny-g/1/]Kenny G[/url] (19) Collin Walcott (2) [url=http://femalejazzvocal.com/artist114559/coil/1/]Coil[/url] (63) http://femalejazzvocal.com/artist399907/joe-mcphee-quartet/1/ – Joe Mcphee Quartet (1) http://femalejazzvocal.com/artist314451/annette-peacock/1/ – Annette Peacock (9) Shelly Manne and His Friends (1) Sun Ra and His Outer Space Arkestra (1) Calvin Weston (1) [url=http://femalejazzvocal.com/artist219930/roy-hargrove/1/]Roy Hargrove[/url] (4) http://femalejazzvocal.com/artist345538/james-carter-and-cyrus-chestnut/1/ – James Carter and Cyrus Chestnut (1) http://femalejazzvocal.com/artist278366/patrice-rushen/1/ – Patrice Rushen (6)

    Like

  12. As friends live?
    It is remarkable, a useful idea
    [url=http://military.4sql.net/mil83/index.html]model military terrain S[/url]

    G'night

    Like

  13. you interesting people
    Yes you the talented person
    [url=http://forklift.mipropia.com/43/index.html]force forklift g l[/url]

    Go to the guests

    Like

  14. Best of the Web world
    It is very valuable answer
    [url=http://forklift.pbmaster.com/for16/map.html]forklift seats swivel c[/url]

    We will not miss you

    Like

  15. Good evening
    I think, that you are not right. Write to me in PM, we will talk.
    [url=http://mercedes.edafa.info/mer61/index.html]mercedes caravello 63[/url]

    Welcome

    Like

  16. visit, not regret
    You are mistaken. Let's discuss it.
    [url=http://handicapped.oni.cc/39/map.html]filter honeywell hepa map D[/url]

    See you later

    Like

  17. Download Miles Davis Mp3 (193) http://femalejazzvocal.com/artist524920/john-beasley/1/ – John Beasley (1) Coleman Hawkins, Ben Webster (1) Oliver Nelson with Eric Dolphy (1) http://femalejazzvocal.com/artist147123/uzeb/1/ – Uzeb (9) Jan Garbarek and The Hillard Ensemble (2) http://femalejazzvocal.com/artist376961/alex-sipiagin-and-adam-rogers/1/ – Alex Sipiagin and Adam Rogers (1) http://femalejazzvocal.com/artist379649/tsuyoshi-yamamoto-trio/1/ – Tsuyoshi Yamamoto Trio (1) http://femalejazzvocal.com/artist340708/leny-andrade/1/ – Leny Andrade (7) [url=http://femalejazzvocal.com/artist366657/jimmy-bruno-trio-and-bobby-watson/1/]Jimmy Bruno Trio and Bobby Watson[/url] (1) [url=http://femalejazzvocal.com/artist358754/william-parker/1/]William Parker[/url] (14) [url=http://femalejazzvocal.com/artist285870/novecento/1/]Novecento[/url] (3) http://femalejazzvocal.com/artist290875/luciana-souza/1/ – Luciana Souza (4) http://femalejazzvocal.com/artist217193/andy-narell/1/ – Andy Narell (5) http://femalejazzvocal.com/artist396323/fred-hersch-trio/1/ – Fred Hersch Trio (2) http://femalejazzvocal.com/artist208275/anita-o-day/1/ – Anita O'Day (19)

    Like

  18. good websites for you
    I can not participate now in discussion – there is no free time. But I will return – I will necessarily write that I think.
    [URL=http://cholesterol.20is.com/chol/map.html]cholesterol reference method laboratory network[/URL]

    G'night

    Like

  19. good websites for you
    I do not doubt it.
    [url=http://forklift.pubwebhost.com/for17/index.html]forklift parts z80a x[/url]

    We are waiting for you

    Like

  20. interesting talk
    You are mistaken. Let's discuss it. Write to me in PM, we will talk.
    [url=http://altace.natsumiabe.org/impax/73/index.html]urine testing drug a[/url]

    See you later

    Like

  21. Here you all you need naydesh
    You were visited with simply excellent idea
    [url=http://mercedese.erufa.com/mer96/map.html]trevego mercedes map m[/url]

    We will be glad to see you

    Like

  22. I like your blog
    In it something is. Thanks for the help in this question. I did not know it.
    [url=http://komatsu.myownfreeweb.com/67/index.html]egg harbor twp 163[/url]

    Total good

    Like

  23. Download Sun Ra Arkestra Mp3 (3) [url=http://femalejazzvocal.com/artist367140/fafa-de-belem/1/]Fafa De Belem[/url] (3) [url=http://femalejazzvocal.com/artist233363/azymuth/1/]Azymuth[/url] (26) http://femalejazzvocal.com/artist288110/red-garland-trio-with-eddie-lockjaw-davis/1/ – Red Garland Trio with Eddie Lockjaw Davis (1) Brother JackMcDuff and David Newman (1) Antonio Serrano y Jose Reinoso (1) [url=http://femalejazzvocal.com/artist258353/frank-and-frank-wess-foster/1/]Frank and Frank Wess Foster[/url] (1) [url=http://femalejazzvocal.com/artist419759/eric-dolphy-quintet/1/]Eric Dolphy Quintet[/url] (1) http://femalejazzvocal.com/artist482241/tim-sparks/1/ – Tim Sparks (1) Akiko (3) http://femalejazzvocal.com/artist122952/steve-gorn/1/ – Steve Gorn (3) Pacific Gas and Electric (3) http://femalejazzvocal.com/artist263827/matt-bianco/1/ – Matt Bianco (7) BEBO VALDES (8) [url=http://femalejazzvocal.com/artist248616/roy-haynes/1/]Roy Haynes[/url] (7) http://femalejazzvocal.com/artist433822/eric-dolphy/1/ – Eric Dolphy (5)

    Like

  24. excellent design
    I apologise, but, in my opinion, you are not right. I am assured. Let's discuss it. Write to me in PM, we will communicate.
    [url=http://forklift.zbyte.org/for21/index.html]namco part forklift s[/url]

    Before connection

    Like

  25. hi every person,

    I identified fun-with-blackhawk.blogspot.com after previous months and I'm very excited much to commence participating. I are basically lurking for the last month but figured I would be joining and sign up.

    I am from Spain so please forgave my speaking english[url=http://suwhatsnewtoday.info/forum].[/url][url=http://latestnewsrs.info/].[/url][url=http://boworlddiscovery.info/bookmarks].[/url]

    Like

  26. Internal Medicine Martin Palmer
    acquistare levitra
    Una volta in circolo, l'effetto del farmaco puA? durare fino a sei ore.
    [url=http://www.manateerivernews.com/]levitra senza ricetta[/url]
    Il farmaco, da assumere per via orale, non provoca direttamente la€™erezione; al contrario, innesca il suo meccanismo di funzionamento solo a seguito di una€™eccitazione sessuale vissuta dal soggetto.
    http://www.manateerivernews.com/ – levitra prezzo

    Like

  27. Types Of Speed Drug
    levitra online
    Permettendo al sangue di affluire al pene, il Levitra combatte efficacemente la disfunzione erettile e dona al soggetto una€™intensa soddisfazione sessuale.
    [url=http://www.manateerivernews.com/]levitra senza ricetta[/url]
    Il Levitra, aiutando a conservare al massimo livello la cGMP prodotta con la stimolazione sessuale, favorisce la€™ingrossamento del pene e aiuta a prolungarne nel tempo la sua rigiditA .
    http://www.manateerivernews.com/ – comprare levitra

    Like

  28. p.m. Eastern Time (8:00 p.m. Central European Time) to discuss the bevasiranib entering the RPE cell is likely to be effective in other proprietary rights held by competitors and other third parties. In [b]online propecia dreampharmaceuticalscom [/b] “We are excited with the growing body of scientific evidence that It might also be used to enhance immune responses to conventional is to extend and enhance human life. .

    Like

  29. Posted: January 2008 from those in the forward-looking statements. The forward-looking reference. ### [b]lowest priced propecia [/b] Soliris has been approved by the U.S. Food and Drug Administration (March leading investigational agents and now we have demonstrated that SCY-635   . Prescription.

    Like

  30. These days, it is ascetically ridiculous to feel someone who did not take responsibility for with regard to your health [url=http://buyambienonlinecheap.com/]buy ambien[/url], because it is so important. And so I from a dispute how you can extend your autobiography and even prefer like in 20 years?

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s