Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
resource_limits.c File Reference
+ Include dependency graph for resource_limits.c:

Go to the source code of this file.

Functions

void dt_set_rlimits ()
 Raise the process limits Ansel needs, where the system lets a running process do it.
 

Function Documentation

◆ dt_set_rlimits()

void dt_set_rlimits ( )

Raise the process limits Ansel needs, where the system lets a running process do it.

Nothing to do on Windows: a thread's stack size is fixed when it is created, the main thread's at link time from the executable header, and no call changes it afterwards. The emulated getrlimit() that used to sit here answered RLIM_INFINITY, so setrlimit() was never reached.

Definition at line 84 of file resource_limits.c.

Referenced by dt_init().