help-smalltalk
[Top][All Lists]
Advanced

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

Re: Multiprocessoring


From: Wolfgang Dann
Subject: Re: Multiprocessoring
Date: Wed, 03 Jun 2020 15:29:58 +0200
User-agent: Evolution 3.34.4

Am Mittwoch, den 03.06.2020, 10:04 +0200 schrieb stes@PANDORA.BE:
> ----- Op 30 mei 2020 om 19:14 schreef Wolfgang Dann montar@gmx.de:
>
> > Does anybody has experience with configure --enable-preemption?
> > It looks like there is code in the VM. Does it work with Linux
> > at least?
> >
> > regards Wolfgang
>
> Hi,
>
> I am not familiar with this feature, but because I read about it
> here:
>
> [tests]

> The Iconv failure is also happening in the non-preemption case.
>
> I don't know more about this
>
>   --enable-preemption     enable preemptive multitasking
>
> but I can only report that it seems to configure and compile/build on
> Solaris.
>
> Regards,
> David Stes

I did not look closer at it by now. I wanted to know if anybody
has experience with this before that. If I am right the code should
enable OS threads for GNU Smalltalk. All other implementations
of smalltalk I looked at just use green threads, that means they
are threading in smalltalk itself, so they cannot use more than one
core. I don't have any multithreading code in smalltalk by now.
If you have some code that uses multithreading, you could watch
if GNU Smalltalk starts OS processes or uses more than one core at
a time.
I was really astound that GNU Smalltalk has this kind of option.
I watched a discussion of the squeak developers who had no clue how
 to do it with squeak and if it's possible at all with smalltalk.

Here are some links:

https://wiki.squeak.org/squeak/552

https://www.google.de/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwiK7I_b3OXpAhXR_KQKHXBYCgwQFjAAegQIAhAB&url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F30697906%2Fhow-to-use-multi-threading-in-squeak-smalltalk&usg=AOvVaw2_mx8gzeZEbkAAHX6I1hjh





reply via email to

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