[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha-dev
Subject:    Re: [Linux-ha-dev] lib/clplumbing/realtime.c
From:       Alan Robertson <alanr () unix ! sh>
Date:       2003-04-15 20:00:58
[Download RAW message or body]

Soffen, Matthew wrote:
> Question, On my FreeBSD system I'm getting an error:
> 	realtime.c:30: warning: `cl_stack_hogger' defined but not used
> 
>>From looking at this code, The ONLY way that cl_stack_hogger can be called
> is from inside functions that are only defined if _POSIX_MEMLOCK.
> 
> On FreeBSD I do not have that #define (OK.. I have it , but it is in a #if 0
> block) on my 4.7 RELEASE system.    Would it cause issues if I were to move
> cl_stack_hogger into a  _POSIX_MEMLOCK block ?

Sounds like a good idea to me.
Hard to see a problem with that...


-- 
     Alan Robertson <alanr@unix.sh>

"Openness is the foundation and preservative of friendship....  Let me claim 
from you at all times your undisguised opinions." - William Wilberforce

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.community.tummy.com
http://lists.community.tummy.com/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic