[Vm-dev] Unix heartbeat thread vs itimer

Bert Freudenberg bert at freudenbergs.de
Tue Mar 21 12:12:19 UTC 2017


On Tue, Mar 21, 2017 at 1:44 AM, Eliot Miranda <eliot.miranda at gmail.com>
wrote:

>
> Hi David,
>
> On Mon, Mar 20, 2017 at 5:00 PM, David T. Lewis <lewis at mail.msen.com>
> wrote:
>
>>
>> On Mon, Mar 20, 2017 at 09:07:16PM +0100, Levente Uzonyi wrote:
>> >
>> > IMO the best solution would be to add command line parameters to set the
>> > priorities - both main and heartbeat using relative values, and keep the
>> > current behavior if none was given. Ben's example would be 0 for both
>> > parameters.
>> > Then the error message on startup could just say to set one of the
>> > parameters to run the VM (e.g. 0,0 or -1,0, etc).
>>
>> A much simpler solution is to just comment out the "exit(errno)" at line
>> 332 of
>> sqUnixHearbeat.c. The resulting VM will work fine.
>>
>
> Feel free!  Do it!  Just add a comment to the source.
>

+1

- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20170321/b97b4aa4/attachment.html>


More information about the Vm-dev mailing list