[EMAIL PROTECTED] wrote: > > > >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 ]
That's why I'd like to see this implemented per-process, too. IMO it may get usefull when ksh93 gets thread support. ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
