[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openexr-devel] OpenEXR from shared libs.

From: Florian Kainz
Subject: Re: [Openexr-devel] OpenEXR from shared libs.
Date: Sun, 04 Mar 2007 13:05:12 -0800
User-agent: Mozilla Thunderbird 1.0 (X11/20041207)

Setting the stack size for the threads created by the
IlmImf library seems to be the most satisfying approach.
No additional preprocessor or configure script magic
is necessary, and BSD gets better performance by
allocating AutoArrays on the stack instead of the heap.


darby johnston wrote:
--- Bob Friesenhahn <address@hidden>

If the crummy pre-processor define approach is to be
used, then all the *BSDs should be covered

Ok, did some searching and apparently the default
thread stack size has been a problem on freebsd

The consensus seemed to be that they would raise the
default to be more in line with linux, but apparently
it's still not enough (looks like it's set to a
megabyte on my 32-bit test machine). Anyways, one of
the posts suggests the most portable way is to just
set the stack limit manually through the pthreads api:


I just tried this setting it to 2 megs, and the
confidence tests pass ok.


Openexr-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]