Hi Shaun,
If it didn't crash in 18 hours it's probably a good sign :) but I would make
sure the code this C framework calls back is thread-safe. Since you got that GC
error message, I assume it's calling MacRuby code from different threads, so
you may want to look at the MacRuby side of your pr
Hi Laurent,
Thanks for the follow up. The C Framework I am working with is a USB library
for sensor kit called Phidgets.
http://www.phidgets.com/programming_resources.php
It is a cross-platform C Library so I am sure they are not using NSThread.
All their Cocoa examples were written a few years
Hi Shaun,
It's hard to really make a diagnosis because I don't know much about the C code
you're interfacing with MacRuby, but the auto_zone_thread_registration_error()
error is raised because a posix thread has been started but has not been
registered with the GC, and then called MacRuby.
If
Hi Mario,
Thanks again for your advice! I have managed to stabilize the program and I
didn't end up using the NSLock function. While I was reading up on Apple's
Threading Programming Guide looking for information about NSLock I came across
this gem:
Protecting the Cocoa Frameworks
For multith
Hello Shaun,
On Sat, Oct 30, 2010 at 1:41 AM, Shaun August wrote:
> Hi All,
>
> I have had some limited success going back and forth between the c
> framework, objective-c wrapper and MacRuby.
>
> I am getting numerous malloc errors when I start up the application. The
> application sort of runs
Hi All,
I have had some limited success going back and forth between the c framework,
objective-c wrapper and MacRuby.
I am getting numerous malloc errors when I start up the application. The
application sort of runs after the first malloc error but after the second
error it crashes almost im
Hey Shaun,
On Sun, Oct 24, 2010 at 1:14 AM, Shaun August wrote:
> Hi Again,
>
> I have spent some time with Nick's tutorial and I am looking into wrapping
> the framework I have been provided with and I have a few more questions.
>
> The framework I am working with is already compiled and not in
Hi Again,
I have spent some time with Nick's tutorial and I am looking into wrapping the
framework I have been provided with and I have a few more questions.
The framework I am working with is already compiled and not in an xcode file. I
am guessing all I need to do is write the Objective-C wr
Thanks Nick,
I appreciate the tutorial.
On Wed, Oct 20, 2010 at 1:44 PM, Nick Ludlam wrote:
> Thanks Shaun,
> I'm in the process of revising the tutorial from a couple of other people's
> feedback, so I'll take a look at this too.
>
> Nick
>
>
> On 20 Oct 2010, at 21:04, Shaun August wrote:
>
>
Thanks Shaun,
I'm in the process of revising the tutorial from a couple of other people's
feedback, so I'll take a look at this too.
Nick
On 20 Oct 2010, at 21:04, Shaun August wrote:
> Thanks Mario,
>
> I am digging into the tutorial right now and I realize a pretty important
> piece of inf
Thanks Mario,
I am digging into the tutorial right now and I realize a pretty important
piece of information is missing. After adding the bundle target I need to
create a "Copy Headers" folder in the TagLibBundle but the instructions
don't say what to do:
Adding our Bundle target
The first thing
Hello Shaun,
On Wed, Oct 20, 2010 at 12:00 AM, Shaun August wrote:
> Hi Robert,
>
> Thanks! That make sense. All those cocoa classes have capitals and they
> work fine. I seem to be able to call from the framework but I am running
> into an undefined method 'extern'. I have also read somewhere th
Hi Robert,
Thanks! That make sense. All those cocoa classes have capitals and they work
fine. I seem to be able to call from the framework but I am running into an
undefined method 'extern'. I have also read somewhere that extern doesn't work
with MacRuby. Is that correct? The framework I am de
Hi Shaun:
Lower case method names is only a convention. MacRuby will work fine using
upper case, i.e., constant, method names.
I know because I only recently changed my project to conform to the convention.
Bob Rice
On Oct 19, 2010, at 7:17 PM, Shaun August wrote:
> Hi There,
>
> I am attemp
Hi There,
I am attempting to work with a framework provided by a USB device manufacturer
and all of their method names start with capitols and I am wondering about the
easiest way to access these methods through macruby. I remember reading
somewhere about fixing the constants in Obj-C but I can
15 matches
Mail list logo