Is there a way to know if I am in iTimer VM?
Guys, As you know, OSSubprocess does not work correctly in Linux unless you use the iTimer VM. I would like to open a warning (that growl thingy on bottom left of the screen) or something at loading / install time if I can detect I am under Linux AND under traditional linux VM (not itimer). Do you know how can I do that? -- Mariano http://marianopeck.wordpress.com
The --version command line option to the VM prints "ITHB" as part of the version for itimer VM's. Not sure whether that is accessible from within the image though. Cheers, Max
On 16 May 2017, at 15:35, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
Guys,
As you know, OSSubprocess does not work correctly in Linux unless you use the iTimer VM. I would like to open a warning (that growl thingy on bottom left of the screen) or something at loading / install time if I can detect I am under Linux AND under traditional linux VM (not itimer).
Do you know how can I do that?
-- Mariano http://marianopeck.wordpress.com <http://marianopeck.wordpress.com/>
OK... yeah, I don't know if that's accessible to the VM. And related questions... could it be that for 6.0 the "default" linux VM is now threaded heartbeat rather than itimer? That looks like based on [1]. Also, for Pharo 5.0 which is the official place to download the threaded heartbeat Linux 32 bits VM? Please can someone confirm? Thanks in advance, https://bintray.com/opensmalltalk/vm/cog#files On Tue, May 16, 2017 at 10:42 AM, Max Leske <maxleske@gmail.com> wrote:
The --version command line option to the VM prints "ITHB" as part of the version for itimer VM's. Not sure whether that is accessible from within the image though.
Cheers, Max
On 16 May 2017, at 15:35, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
Guys,
As you know, OSSubprocess does not work correctly in Linux unless you use the iTimer VM. I would like to open a warning (that growl thingy on bottom left of the screen) or something at loading / install time if I can detect I am under Linux AND under traditional linux VM (not itimer).
Do you know how can I do that?
-- Mariano http://marianopeck.wordpress.com
-- Mariano http://marianopeck.wordpress.com
On 16 May 2017 15:36, "Mariano Martinez Peck" <marianopeck@gmail.com> wrote: Guys, As you know, OSSubprocess does not work correctly in Linux unless you use the iTimer VM. I would like to open a warning (that growl thingy on bottom left of the screen) or something at loading / install time if I can detect I am under Linux AND under traditional linux VM (not itimer). I thought it was the other way around, it doesn't work properly in itimer, only in threaded heartbeat? Cheers, Alistair
On Tue, May 16, 2017 at 11:00 AM, Alistair Grant <akgrant0710@gmail.com> wrote:
On 16 May 2017 15:36, "Mariano Martinez Peck" <marianopeck@gmail.com> wrote:
Guys,
As you know, OSSubprocess does not work correctly in Linux unless you use the iTimer VM. I would like to open a warning (that growl thingy on bottom left of the screen) or something at loading / install time if I can detect I am under Linux AND under traditional linux VM (not itimer).
I thought it was the other way around, it doesn't work properly in itimer, only in threaded heartbeat?
yes, sorry, I said it the wrong way!.
Cheers, Alistair
-- Mariano http://marianopeck.wordpress.com
Hi Mariano, On May 16, 2017, at 6:35 AM, Mariano Martinez Peck <marianopeck@gmail.com> wrote: Guys, As you know, OSSubprocess does not work correctly in Linux unless you use the iTimer VM. As others have pointed out, you mean that OSSubprocess does not work correctly unless you use the threaded heartbeat VM. That the itinerary heartbeat breaks OSSubprocess. I would like to open a warning (that growl thingy on bottom left of the screen) or something at loading / install time if I can detect I am under Linux AND under traditional linux VM (not itimer). Do you know how can I do that? I made a mistake in that there is no way, other than by using the FFI, to discover if the timer heartbeat is being used. Would it be satisfactory if I provide a flag in vm parameter 48 that, if set, indicates the itimer heartbeat is in use? This could be done in a few minutes and would be ready for the official release of Pharo 6. -- Mariano http://marianopeck.wordpress.com
On Tue, May 16, 2017 at 11:43 AM, Eliot Miranda <eliot.miranda@gmail.com> wrote:
Hi Mariano,
On May 16, 2017, at 6:35 AM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
Guys,
As you know, OSSubprocess does not work correctly in Linux unless you use the iTimer VM.
As others have pointed out, you mean that OSSubprocess does not work correctly unless you use the threaded heartbeat VM. That the itinerary heartbeat breaks OSSubprocess.
Yes, sorry about that.
I would like to open a warning (that growl thingy on bottom left of the screen) or something at loading / install time if I can detect I am under Linux AND under traditional linux VM (not itimer).
Do you know how can I do that?
I made a mistake in that there is no way, other than by using the FFI, to discover if the timer heartbeat is being used. Would it be satisfactory if I provide a flag in vm parameter 48 that, if set, indicates the itimer heartbeat is in use? This could be done in a few minutes and would be ready for the official release of Pharo 6.
Well, it would be helpful as I may be able to throw a warning. Would this flag be set only under Linux VM? Thanks,
-- Mariano http://marianopeck.wordpress.com
-- Mariano http://marianopeck.wordpress.com
Hi Mariano,
On May 16, 2017, at 7:48 AM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
On Tue, May 16, 2017 at 11:43 AM, Eliot Miranda <eliot.miranda@gmail.com> wrote:
Hi Mariano,
On May 16, 2017, at 6:35 AM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
Guys,
As you know, OSSubprocess does not work correctly in Linux unless you use the iTimer VM.
As others have pointed out, you mean that OSSubprocess does not work correctly unless you use the threaded heartbeat VM. That the itinerary heartbeat breaks OSSubprocess.
Yes, sorry about that.
I would like to open a warning (that growl thingy on bottom left of the screen) or something at loading / install time if I can detect I am under Linux AND under traditional linux VM (not itimer).
Do you know how can I do that? I made a mistake in that there is no way, other than by using the FFI, to discover if the timer heartbeat is being used. Would it be satisfactory if I provide a flag in vm parameter 48 that, if set, indicates the itimer heartbeat is in use? This could be done in a few minutes and would be ready for the official release of Pharo 6.
Well, it would be helpful as I may be able to throw a warning. Would this flag be set only under Linux VM?
Effectively, yes. It would be set in VMs that use the itimer heartbeat. Currently that's only a subset of the Linux VMs. Hopefully it will not be set in any vm soon :-)
Thanks,
-- Mariano http://marianopeck.wordpress.com
-- Mariano http://marianopeck.wordpress.com
On 16.05.2017, at 17:14, Eliot Miranda <eliot.miranda@gmail.com> wrote:
Hi Mariano,
On May 16, 2017, at 7:48 AM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
On Tue, May 16, 2017 at 11:43 AM, Eliot Miranda <eliot.miranda@gmail.com> wrote:
Hi Mariano,
On May 16, 2017, at 6:35 AM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
Guys,
As you know, OSSubprocess does not work correctly in Linux unless you use the iTimer VM.
As others have pointed out, you mean that OSSubprocess does not work correctly unless you use the threaded heartbeat VM. That the itinerary heartbeat breaks OSSubprocess.
Yes, sorry about that.
I would like to open a warning (that growl thingy on bottom left of the screen) or something at loading / install time if I can detect I am under Linux AND under traditional linux VM (not itimer).
Do you know how can I do that? I made a mistake in that there is no way, other than by using the FFI, to discover if the timer heartbeat is being used. Would it be satisfactory if I provide a flag in vm parameter 48 that, if set, indicates the itimer heartbeat is in use? This could be done in a few minutes and would be ready for the official release of Pharo 6.
Well, it would be helpful as I may be able to throw a warning. Would this flag be set only under Linux VM?
Effectively, yes. It would be set in VMs that use the itimer heartbeat. Currently that's only a subset of the Linux VMs. Hopefully it will not be set in any vm soon :-)
Can't guarantee that to you. Not unless the threaded-heartbeat-vm can be used hazzle-free (ie, without using sudo/..) ;) SCNR, sorrry
Thanks,
-- Mariano http://marianopeck.wordpress.com
-- Mariano http://marianopeck.wordpress.com
[sorry that was meant for vm-dev :(]
On 16.05.2017, at 17:20, Tobias Pape <Das.Linux@gmx.de> wrote:
On 16.05.2017, at 17:14, Eliot Miranda <eliot.miranda@gmail.com> wrote:
Hi Mariano,
On May 16, 2017, at 7:48 AM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
On Tue, May 16, 2017 at 11:43 AM, Eliot Miranda <eliot.miranda@gmail.com> wrote:
Hi Mariano,
On May 16, 2017, at 6:35 AM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
Guys,
As you know, OSSubprocess does not work correctly in Linux unless you use the iTimer VM.
As others have pointed out, you mean that OSSubprocess does not work correctly unless you use the threaded heartbeat VM. That the itinerary heartbeat breaks OSSubprocess.
Yes, sorry about that.
I would like to open a warning (that growl thingy on bottom left of the screen) or something at loading / install time if I can detect I am under Linux AND under traditional linux VM (not itimer).
Do you know how can I do that? I made a mistake in that there is no way, other than by using the FFI, to discover if the timer heartbeat is being used. Would it be satisfactory if I provide a flag in vm parameter 48 that, if set, indicates the itimer heartbeat is in use? This could be done in a few minutes and would be ready for the official release of Pharo 6.
Well, it would be helpful as I may be able to throw a warning. Would this flag be set only under Linux VM?
Effectively, yes. It would be set in VMs that use the itimer heartbeat. Currently that's only a subset of the Linux VMs. Hopefully it will not be set in any vm soon :-)
Can't guarantee that to you. Not unless the threaded-heartbeat-vm can be used hazzle-free (ie, without using sudo/..) ;)
SCNR, sorrry
Thanks,
-- Mariano http://marianopeck.wordpress.com
-- Mariano http://marianopeck.wordpress.com
participants (6)
-
Alistair Grant -
Denis Kudriashov -
Eliot Miranda -
Mariano Martinez Peck -
Max Leske -
Tobias Pape