realbasic-nug
[Top] [All Lists]

Re: Quesa and 3D

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Quesa and 3D
From: "Glenn L. Austin" <glenn at austin-home dot com>
Date: Wed, 30 Jan 2008 13:47:53 -0800
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <39E43D9B-79B6-48C1-BF73-FAE68CD5F70D at forestmgt dot com>
On Jan 30, 2008, at 12:54 PM, TJ Hanson, PhD wrote:

> There was a post about a month ago concerning Quesa and the error:
>
>      Plugin "RB3D.rbx:0" is not supported for Mac OS Carbon (Mach-O).
>
> I have placed Quesa in the Macintosh HD:Library:CFMSupport folder, but

CFM <> Mach-O.  Those are two different binary types.

You'll want to put Quesa.framework in /Library/Frameworks

-- 
Glenn L. Austin <><
Computer Wizard and Race Car Driver
<glenn at austin-home dot com>
<http://www.austin-home.com/glenn/>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


From  Wed 30 Jan 2008 22:57:41 +0100
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
        id 8C7BD59E5AEB; Wed, 30 Jan 2008 13:57:51 -0800 (PST)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on 
        www.realsoftware.com
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=4.5 tests=AWL,BAYES_00 autolearn=ham 
        version=3.1.1
Received: from lists.realsoftware.com (m.realsoftware.com [66.116.103.65])
        by xmail.realsoftware.com (Postfix) with ESMTP id 8FEF159E5AD6;
        Wed, 30 Jan 2008 13:57:47 -0800 (PST)
Received: from m.realsoftware.com (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP id 3A299DC22FE;
        Wed, 30 Jan 2008 15:57:44 -0600 (CST)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from smtprelay10.ispgateway.de (smtprelay10.ispgateway.de
        [80.67.29.24])
        by lists.realsoftware.com (Postfix) with ESMTP id 544C2DC22F3
        for <realbasic-nug at lists dot realsoftware dot com>;
        Wed, 30 Jan 2008 15:57:42 -0600 (CST)
Received: from [84.175.91.12] (helo=[192.168.1.80])
        by smtprelay10.ispgateway.de with esmtpa (Exim 4.68)
        (envelope-from <realbasiclists at monkeybreadsoftware dot de>)
        id 1JKKw9-0004DV-8i for realbasic-nug at lists dot realsoftware dot com;
        Wed, 30 Jan 2008 22:57:41 +0100
To: realbasic-nug at lists dot realsoftware dot com (REALbasic NUG)
In-Reply-To: <EE8DBC07-4FFC-47A3-87AB-3A46DAEF74E3 at alacatialabs dot com>
Subject: Re: Preemptive threading
From: realbasiclists at monkeybreadsoftware dot de (Christian Schmitz)
Date: Wed, 30 Jan 2008 22:57:41 +0100
Message-ID: <1ibjwun dot rraqoxob52fxM%realbasiclists at monkeybreadsoftware 
dot de>
MIME-Version: 1.0
User-Agent: MacSOUP/D-2.8.2 (Mac OS X version 10.5.1 (x86))
X-Df-Sender: 363246
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com

Jonathan Johnson <jon at alacatialabs dot com> wrote:

> I'm curious as to how you dealt with the fact that REALbasic is not  =

> thread-safe. I notice that you do have LockRuntime methods, but even
> invoking the LockRuntime methods can cause reference counts to go our
> of whack. =


Object creation and destroying is not allowed in a preemptive thread as
constructors and destructors are not thread safe.

Runtime Locking makes sure that no function is executed in the main
thread or other thread is working.

> If both threads do it at once, it is possible for the REALbasic runtime to
> get in a situation where the reference count was only incremented once,
> because it isn't thread-safe.

That is no problem if you use LockRuntime UnlockRuntime.

> The REALbasic runtime *needs* thread-safety. Until it's thread-safe,
> the only safe methods you can write in REALbasic code are strictly  =

> mathematical functions in global modules that don't refer to any  =

> objects or strings.

I know. Actual you have no big problems if you keep your reference
counts unchanged while the thread is working.

Gru=DF
Christian

-- =

Over 900 classes with 18000 functions in one REALbasic plug-in. =

The Monkeybread Software Realbasic Plugin v8.0. =


<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>