Thread: threads and mem usage

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    You could try this if changing the system default isn't ideal: pthread_attr_getstacksize

    gg

  2. #2
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by Codeplug View Post
    You could try this if changing the system default isn't ideal: pthread_attr_getstacksize

    gg
    Thanks much, very glad to see that exists.

    "Pthread_attr_setstacksize" is in the nodejs source so I presume that's how they accomplished that there.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. VC++ 6 - CPU Usage Help
    By solem1 in forum C Programming
    Replies: 0
    Last Post: 09-08-2009, 11:16 PM
  2. threads with lower CPU usage
    By Magos in forum Windows Programming
    Replies: 1
    Last Post: 02-18-2006, 09:44 AM
  3. a point of threads to create multiple threads
    By v3dant in forum C Programming
    Replies: 3
    Last Post: 10-06-2004, 09:48 AM
  4. Bit Usage
    By Hypercase in forum C Programming
    Replies: 20
    Last Post: 09-12-2004, 07:40 AM
  5. cpu usage
    By geobot in forum C++ Programming
    Replies: 2
    Last Post: 09-27-2003, 08:04 PM