Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#35 Thread Stack Size

closed
nobody
None
5
2012-09-14
2008-03-29
Larry Lewis
No

Poco::Thread does not currently support changing a thread's stack size from the implementation default. For applications using large numbers of threads, the platform default of 8-10 MB per thread is unacceptable.

I propose a set of API similar to (get|set)Priority to enable access to this underlying capability. The attached patch implements the necessary changes for both POSIX and WIN32 targets, but has only been tested on POSIX.

Discussion

  • Larry Lewis
    Larry Lewis
    2008-03-29

    Thread stack size patch

     
    Attachments
  • Alex Fabijanic
    Alex Fabijanic
    2008-04-11

    Logged In: YES
    user_id=1001095
    Originator: NO

    Added to trunk, revision 514