VDKC carbon Problem?

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Sep 10 19:34:41 CDT 2003


on 9/10/03 6:52 PM, Lawrence Fagan at larry at kinemaworks.com wrote:

Hi Larry,

1) So you happy now ?  :-)
Or we still need fight with OS 9 issue?


> Hello Ruslan,
> I ported My app to OSX.  Still using Carbon client . Had the expected
> interface issues, but got it all going.  WORKS GREAT! I was able to
> loop through 2000+ times.  And it is much faster.  Please put
> something in the docks for others that points out you are not
> targeting OS9, the terms Carbon and Classic imply OS9. The client
> machines I was targeting are first generation I-macs so I thought OS9
> would be better for them.

2) but you still have use CARBON Client target, yes?

    all this strange because GUSI Carbon for OS 9 and OS X
    have THE SAME codebase as I know. Because this is CARBON.

    I could understand if you'd use on OS 9 CLASSIC target.
    then this will be other codebase.

3) if you will use Client MACHO, then I think you will see even more faster
work!!! Because CARBON still use GUSI, even on OS X.

Macho client uses true POSIX sockets. They are faster!

So if you have some clients with OS X, you can distribute for them true
MACHO app. This is then more easy now, that PowerPlant support Macho target
also.

4) One more thing we have realize today.
GUSI during its work return UNIX like errors.
So error 9 most probably was returned by GUSI.
And inside of GUSI you can find file errno.h with error codes.


>> We wonder here:
>> 
>>> Why you have come to this loop with open close?
>> In your real app you also have such case?
> 
> Why did I find this loop issue?   I was having seamanly random
> crashes every hour or so which led me to testing via the "for" loop.
> I am not doing this type of loop in my app, that would be an obvious
> waste.
>> 
>>> Igor have read some docs and say that Windows and others DO NOT close socket
>>> handle immediately. They still leave it for 1-4 minutes.
> 
> 
> 
>  The time between connections did not seem to make any difference on OS9
> 
> As I said above, on OSX I was able to do a for(i=0;i<=2000;i++) loop
> very quickly, and no crash. With and w/o logging level 3.

Very good. But why OS 9 glitches...



-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list