bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#30364: 26.0.91; thread crash on macos


From: Eli Zaretskii
Subject: bug#30364: 26.0.91; thread crash on macos
Date: Mon, 19 Feb 2018 05:29:17 +0200

> From: Aaron Jensen <aaronjensen@gmail.com>
> Date: Sun, 18 Feb 2018 13:12:24 -0800
> Cc: Noam Postavsky <npostavs@gmail.com>, 30364@debbugs.gnu.org, 
>       Noam Postavsky <npostavs@users.sourceforge.net>, Alan Third 
> <alan@idiocy.org>
> 
> On Sun, Feb 18, 2018 at 12:15 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> > I think for 32-bit Emacs 3MB will do, but 64-bit build might need
> > more, like 4 or 5.  The MS-Windows build gives each thread the same
> > amount of stack as for the main program, which means 8MB.
> 
> Would you like me to vary it based on 32-bit vs 64-bit?

I think so, but I'd like to hear from others about this.  Paul,
Andreas, could you please comment?

One thing that bothers me is whether giving threads more stack space
could adversely affect the memory available to the main thread.

> > I hope someone who is familiar with pthreads will chime in regarding
> > the portability issues.
> 
> Looks like it's part of POSIX.1-2001, so I'm guessing that means we
> can assume it's there, yeah?
> 
> https://www.systutorials.com/docs/linux/man/3-pthread_attr_setstacksize/

I think so, yes.  Still, I'd like to hear more opinions.





reply via email to

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