[PD] devel_0.38 pb loading externals?

vincent rioux vincent.rioux at no-log.org
Wed Mar 2 15:54:39 CET 2005


Tim Blechmann wrote:

>all right ... what about memory locking ... are you running as root /
>not as root (please try both), are you running with -rt or without?
>  
>
no change

>can you comment out the 
>#ifdef _POSIX_MEMLOCK
>block in s_inter.c from line 285 to 299
>
>  
>
/* #ifdef _POSIX_MEMLOCK */
/* /\*     tb: force memlock to physical memory { *\/ */
/*     struct rlimit mlock_limit; */
/*     mlock_limit.rlim_cur=0; */
/*     /\* tb: only if we are really root we can set the hard limit *\/ */
/*     if (getuid()) */
/*         mlock_limit.rlim_max=100; */
/*     else */
/*         mlock_limit.rlim_max=0; */
/*     setrlimit(RLIMIT_MEMLOCK,&mlock_limit); */
/* /\*     } tb *\/ */

/*     if (mlockall(MCL_FUTURE) != -1) */
/*         fprintf(stderr, "memory locking enabled.\n"); */
/* #endif */

no change either sorry
i am surely not the best person to check for this kind of things, i 
actually don't quite understand what i am modifying
and it is also possible that my system is wrecked somehow

so please don't consider my attempts as rock-solid

i will try to check on an other computer/system when i find time

>thanks for the debugging help ... tim
>  
>
well, thanks for making this exchange possible

vincent








More information about the Pd-list mailing list