Re: GSoC ticket #1069 (thread scheduler) application
"André Braga" <[email protected]> Wed, 11 Apr 2007 21:19:13 -0300
| Newsgroups | gmane.os.openbeos.kernel.devel |
|---|---|
| Message-ID | <[email protected]> |
On 4/11/07, Ingo Weinhold <bonefish-CFLBMwTPW48UNGrzBIF7/[email protected]> wrote: > Please note that: (1) There are usually not that many threads waiting for a > single semaphore anyway. (2) The most likely semaphore release operation is > with count 1, i.e. only the frontmost thread in the semaphore's queue will be > woken up. (3) Even in cases were all waiting threads are woken up (e.g. > delete_sem()) some info for each one needs to be updated, so the operation is > "O(n)" anyway. I might have a hidden ace on my sleeves... Who knows ;) Could you please explain what info must be updated on every thread? And if you have time to explain me some more kernel internals, please, I'm online on #haiku. I promise I'll try not to ask way too many stupid questions :) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV