> >Is there an API which can be used to limit the number of threads/LWPs
> >per process/process group (e.g. similar to "ulimit" (e.g. not
> >per-project)) ? Some platforms define |RLIMIT_PTHREAD| for this purpose
> >but I can't find something similar for Solaris (it would be usefull to
> >get ksh93's ulimit "-T" option implemented) ... ;-(
> 
> It's a resource control in Solaris.

Perhaps I'm missing something obvious; however, a cursory rctl exam
seems to indicate that this functionality is only implemented on a per
task/project/zone basis:

$ rctladm -l | grep lwp
task.max-lwps               syslog=off     [ count ]
project.max-lwps            syslog=off     [ no-basic count ]
zone.max-lwps               syslog=off     [ no-basic count ]

-j
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to