Function setTaskStackSize

Sets the stack size for tasks.

The default stack size is set to 16 KiB, which is sufficient for most tasks. Tuning this value can be used to reduce memory usage for great numbers of concurrent tasks or to allow applications with heavy stack use.

Note that this function must be called before any task is started to have an effect.

Prototype

void setTaskStackSize(
  ulong sz
);

Authors

Sönke Ludwig

Copyright

© 2012-2013 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.