From: | "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx> |
Date: | Fri, 23 Feb 2007 15:54:39 +0100 |
if (stack == NULL) { #ifdef _KERNEL stack = (void *)kmem_alloc(&kernel_map, stksize); #else stack = libcaps_alloc_stack(stksize); #endif flags |= TDF_ALLOCATED_STACK; }
while (stack == NULL) { stack = (void *)kmem_alloc(&kernel_map, stksize); if (stack == NULL) tsleep(&kernel_map, 0, "stckalc", hz); }
cheers simon
-- Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low €€€ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
Attachment:
signature.asc
Description: OpenPGP digital signature