I guess I am the shuffler guru, since I wrote it. However, I don't really know how the new backend works.
As soon as I take my vacation I will try to fix some performance problems in the shuffler, and perhaps also add a new non-pike-lock stealing mode of operation for pure FD:s (the latter would however not be all that portable, unless I copy large chunks of the backend code, which is most likely not a good idea)
Most likely the only thing you have to do to get the shuffler working is to disable the b_source_normal_file.c source by returning 0 at the very start of source_normal_file_make (eg, comment out line 88)
/ Per Hedbor ()
Previous text:
2004-06-21 12:04: Subject: Re: Drowning in the Shuffler (SEGV)
Per Hedbor () @ Pike (-) developers forum wrote:
The patch is probably OK as it is, and it's needed since it fixes crash-bugs.
Ok.
However, it might now be somewhat slower to use the shuffler with 'pure' FD:s. I don't really know, though, since I have not checked the new backend code (the change in the backend code is most likely the reason for the crash)
Maybe. Martin thought it was the change in the way callbacks work.
However, the patch as such is incomplete. The shuffler doesn't work now (I have not checked it in yet). I'm out of depth here though. I already went out on a limb to create the current patch. But, now that it doesn't work fully, I don't know how to debug or fix it.
Could someone more familiar with callbacks check the changes I made, or someone (Grubba?) more familiar with the innards of the shuffler check why this breaks the shuffler? -- Sincerely, srb@cuci.nl Stephen R. van den Berg (AKA BuGless).
"People who think they know everything are annoying to those of us who do."
/ Brevbäraren