>>>>> "n" == nobu nokada <nobu.nokada / softhome.net> writes:

n> qsort() passes only the pointers to elements to be compared.

 and ?

n> The thread may differ from which the callback was
n> registered.

 You want to say that qsort() will be called in a different ruby thread ?


 * retrieve `func' from sym_data
 * store [proc, proto] in a thread local variable
 * call qsort() with `func'
 * within `func' retrieve the thread local variable

 no ?


Guy Decoux