[ros-kernel] [PATCH] Callbacks

KJK::Hyperion noog at libero.it
Sat May 29 20:45:31 CEST 2004


At 18.07 29/05/2004, you wrote:
>>a whole CONTEXT structure to save 5 or 6 registers? once I understood 
>>what fibers are for (not very easy to understand from the documentation, 
>>given the lack of practical examples), I simply rewrote it without even 
>>looking at the code I had been sent. Binary compatibility sometimes is a 
>>non-issue
>Don't let us die unknowing. What are fibers for?

for implementing silly Windows scheduler simulators? (see 
reactos\apps\tests\fiber)

>For porting n:m multithreaded UN*X-Apps?

eh, without pre-emptable multitasking (no asynchronous signals in Windows). 
In general, they are for high-performance servers, or any application for 
which the generic Windows scheduler isn't good enough. Microsoft uses them 
a lot in SQL Server 



More information about the Ros-kernel mailing list