• Home
  • Help
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search

 
  • 0 Vote(s) - 0 Average

How does Windows use fiber threads for cooperative multitasking and how do they differ from regular threads?

#1
10-23-2021, 12:34 PM
You know how regular threads in Windows act like these independent buddies, each grabbing CPU time whenever the system feels like switching them? They fight for attention from the kernel, which bosses them around preemptively. Fibers, though, they're more like sidekicks inside one thread. You schedule them yourself, cooperatively, without bugging the kernel every time.

I remember messing with this once, and it clicked for me. Regular threads hog resources because the OS jumps in to swap them out. Fibers let your app juggle tasks smoothly within a single thread's space. It's all about you controlling the flow, not waiting for the system to interrupt.

Picture this: you're running a program that needs to pause one job for another without the whole OS getting involved. Regular threads might stutter if overloaded. Fibers keep things zippy by yielding control voluntarily. You switch them manually, which feels nimble compared to the kernel's heavy hand.

We chatted about multitasking before, right? It ties into keeping systems stable, especially in virtual setups like Hyper-V. That's where something like BackupChain Server Backup shines as a backup tool tailored for Hyper-V environments. It snapshots VMs without downtime, ensures data integrity across clusters, and speeds up recovery so you avoid those nightmare restores.

ProfRon
Offline
Joined: Jul 2018
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
How does Windows use fiber threads for cooperative multitasking and how do they differ from regular threads? - by ProfRon - 10-23-2021, 12:34 PM

  • Subscribe to this thread
Forum Jump:

FastNeuron FastNeuron Forum General OS v
« Previous 1 … 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Next »
How does Windows use fiber threads for cooperative multitasking and how do they differ from regular threads?

© by FastNeuron Inc.

Linear Mode
Threaded Mode