Date: Wed, 9 Jun 1999 09:48:20 +0200 From: Ladavac Marino <mladavac@metropolitan.at> To: 'Bruce Pennypacker' <BruceP@msn.com>, Woody Carey <carey@roguewave.com>, freebsd-questions@FreeBSD.ORG Subject: RE: dual processor question Message-ID: <55586E7391ACD211B9730000C110027617964C@r-lmh-wi-100.corpnet.at>
next in thread | raw e-mail | index | archive | help
> -----Original Message----- > From: Bruce Pennypacker [SMTP:BruceP@msn.com] > Sent: Tuesday, June 08, 1999 10:35 PM > To: Woody Carey; freebsd-questions@FreeBSD.ORG > Subject: Re: dual processor question > > The application is currently single threaded. I wasn't aware that > FreeBSD > supported multithreading. Some messages I came across when searching > on > freebsd.org seemed to indicate that it didn't support > multithreading... [ML] It does, but officially only in user space (I don't think LinuxThreads-kernel space threads have made it into a release yet). User space threads will not help you there because you still have just one thread of execution as far as the kernel sees it, you just longjmp in there a lot :( You will need to break the application into several processes in order to use additional CPU's. In fact, you can make all processes mmap the file and synchronize via SYSV semaphores--porting to kernel supported pthreads will then be trivial. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55586E7391ACD211B9730000C110027617964C>