Takashi Iwai wrote: > Stephen Cook wrote: > > > > >> - qsort(hctl->pelems, hctl->count, sizeof(*hctl->pelems), compar); > > >> + > > >> + pthread_mutex_lock(&sync_lock); > > >> + compare_hctl = hctl; > > >> + qsort(hctl->pelems, hctl->count, sizeof(*hctl->pelems), hctl_compare); > > >> + pthread_mutex_unlock(&sync_lock); > > > > I hope I don't sound to persistent but I am just wondering when this > > patch is going to be merged or if there is anything I can do to help > > speed it up. Such as any changes to the patch etc. > > well, i'm also waiting for the response from others.
Looks fine. We're already dependent on pthreads, and qsort doesn't pass extra parameters, so I don't see any better way to do this. ("Let's write our own sorting routine" is not better IMNSHO.) Regards, Clemens ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel