Subj : Re: User-level thread library/package for Linux To : comp.programming.threads From : Joe Seigh Date : Mon Sep 19 2005 01:19 pm 50295@web.de wrote: >>>Does anyone know where I can find a user-level thread library/package >>>for Linux? >> >>Do you mean a M:1 implementation model? A possibility would be to use >>GNU Pth: >>http://www.gnu.org/software/pth/ > > > Thanks Loic > > >>Note howewer that this implementation uses a non-preemptive scheduler. > > > Unfortunately, a preemptive scheduler is just what I'm looking for. I'm > trying to demostrate a few scheduling algorithm using threads/a thread > library. Has anyone done this? > Thread libraries generally don't contain an api for plugging in your own scheduler. Try http://www.emn.fr/x-info/bossa/ for a kernel level api. -- Joe Seigh When you get lemons, you make lemonade. When you get hardware, you make software. .