shell error

Gedare Bloom gedare at
Tue Jan 23 14:48:50 UTC 2018

Hello Ben,

On Tue, Jan 23, 2018 at 3:13 AM, at
< at> wrote:
> hi everyone:
> i use the shell , but i get the error print as follows:
> "pthread_setspecific(shell_current_env_key)"
> so i search this problem, and  find someone has asked this question before,
> somebody replied as "add the two defines"
> this solve the problem as i come up with,but i do not know why?
Your code needs to configure the kernel required resources as needed
by your application. In this case, the shell is using a pthread key,
so it should be configuring an extra POSIX_KEY. The mentioned approach
can fix the problem because it simply configures all objects without
limits. A better solution is to understand how many of each kind of
kernel object your application needs and to configure exactly that, so
as to reduce the resource overhead. Note, though, that the unified
work area means the C program heap and the kernel objects reside in
the same memory, so that there is no set-aside for kernel space, so
the configure unlimited is less problematic in this situation. But,
you could have an allocation failure eventually.

For more details you may read


> best
> ben
> ________________________________
> at
> _______________________________________________
> users mailing list
> users at

More information about the users mailing list