too few shared objects
"Dr. Uwe Girlich" <[email protected]>
| Newsgroups | gmane.linux.ngpt.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello list! In pth_sync.c there is the definition of PTH_MAX_SHARED_OBJECTS (default 256), which defines how many shared conditional variables and shared mutexes a system can use. Wouldn't it be better 1) to increase this value to at least 10000. On my project 256 is MUCH too low. 2) to make this value configurable via ./configure --with-maxshared=10000 or 3) to make this value configurable somehow at runtime? I'm not really sure, why PTH_MAX_SHARED_OBJECTS isn't defined in local_lim.h (which would make a configurable value much easier). I have a (trivial) patch for 1) and could write one for 2) but have too little a understanding for 3). Bye, Uwe -- Dr. Uwe Girlich email: [email protected] Philosys Software GmbH www: www.philosys.de Edisonstrasse 6 phone: +49 89 321407-44 D-85716 Unterschleissheim fax: +49 89 321407-12