where is getVMThread defined?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

where is getVMThread defined?

EstebanLM

Hi,
I'm trying to compile cocoa-cogvm with latest cog versions and I can't find "getVMThread"... do you know where is it defined?

Cheers.
Esteban
Reply | Threaded
Open this post in threaded view
|

Re: where is getVMThread defined?

Igor Stasenko
 
On 25 February 2011 21:36, Esteban Lorenzano <[hidden email]> wrote:
>
> Hi,
> I'm trying to compile cocoa-cogvm with latest cog versions and I can't find "getVMThread"... do you know where is it defined?
>

humm.. i only found this reference in
./platforms/unix/misc/threadValidate/sqUnixHeartbeat.c

and it of course not included into builds, because there is:

 ./platforms/unix/vm/sqUnixHeartbeat.c

> Cheers.
> Esteban



--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: where is getVMThread defined?

Eliot Miranda-2
In reply to this post by EstebanLM
 
Hi Esteban,

On Fri, Feb 25, 2011 at 12:36 PM, Esteban Lorenzano <[hidden email]> wrote:
>
> Hi,
> I'm trying to compile cocoa-cogvm with latest cog versions and I can't find "getVMThread"... do you know where is it defined?

I renamed it to avoid ambiguity to getVMOSThread.  You'll find it in
platforms/Cross/vm/sq.h:
# define getVMOSThread() ioVMThread

So getVMThread is obsolete and should be replaced with getVMOSThread

Don't know if this unblocks you.  Let me know...

>
> Cheers.
> Esteban
Reply | Threaded
Open this post in threaded view
|

Re: where is getVMThread defined?

EstebanLM

cool... thanks :)

El 25/02/2011, a las 6:16p.m., Eliot Miranda escribió:

>
> Hi Esteban,
>
> On Fri, Feb 25, 2011 at 12:36 PM, Esteban Lorenzano <[hidden email]> wrote:
>>
>> Hi,
>> I'm trying to compile cocoa-cogvm with latest cog versions and I can't find "getVMThread"... do you know where is it defined?
>
> I renamed it to avoid ambiguity to getVMOSThread.  You'll find it in
> platforms/Cross/vm/sq.h:
> # define getVMOSThread() ioVMThread
>
> So getVMThread is obsolete and should be replaced with getVMOSThread
>
> Don't know if this unblocks you.  Let me know...
>
>>
>> Cheers.
>> Esteban